On Mon, Jan 28, 2008 at 01:55:01PM +0100, Stefan Behnel wrote:
> Hi,
> 
> murali wrote:
> > <!ATTLIST doc : CDATA #IMPLIED>
> > 
> > is a valid declaration of attribute ":" for element doc.
> > 
> > But , currently LIBXML2 generates a error when it encounters this.
> 
> well, that's just because ':' isn't really a well-formed attribute name. So
> you're actually lucky libxml2 tells you that, otherwise you'd generate XML
> that no parser can parse.

But that's still true that the XML declaration spec tells : is a valid
attribute name in an ATTLIST. ::::::::::: is, too.

http://www.w3.org/TR/xml/#NT-Name

That's puzzling.

Mike
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to