xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <dpen...@arrowsash.com>
Subject Re: mixed content in DTDs
Date Thu, 19 Jul 2001 10:37:28 GMT
You must declare #PCDATA first in mixed content:

<!ELEMENT point (#PCDATA,sub-point*,)>      

----- Original Message ----- 
From: "Kazi the P i R @ t {-" <kazi@ewarna.com>
To: "Lim Huat Heng" <huatheng@ewarna.com>
Cc: <general@xml.apache.org>
Sent: Thursday, July 19, 2001 3:55 AM
Subject: mixed content in DTDs


> I have a line like this in my dtd:
> <!ELEMENT point (sub-point*,#PCDATA)>      
>     Is this violating the mixed content rule??
>  I get an error saying:
>     
>     A name was started with an invalid character. Line 11, Position 41 
> 
>             <!ELEMENT point (sub-point*,#PCDATA)>      
> ----------------------------------------^
> 
> HELP
> 
> Kazi
> 
> 
> ---------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
> For additional commands, e-mail: general-help@xml.apache.org
> 
> 
> 


---------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org


Mime
View raw message