Armin Pfarr wrote:
> 
> Hi,
> 
> if I'm using a DTD
> 
> <!ELEMENT a
>         EMPTY >
> <!ATTLIST a
>         href CDATA #REQUIRED >
> 
> and construct an Instance
> 
> <a href="www.w3c.org?test=1&test2=5"/>
> 
> I get a parsing error
> "The Reference to entity test2 must end with the ";" delimiter.
> 
> If I understand the spec correctly, CDATA-Attributes are final and may not
> be processed by the parser. In this case I'd expect, that there is no
> parsing error.
> 
> Am I right?
> 
> Armin
> P.S.
> The XHTML 1.0 DTD also describes the href-attributes as
> 
> "href CDATA #IMPLIED"

Reply via email to