Re: [xml] ATTRIBUTE NAME validation problem

On Mon, Jan 28, 2008 at 01:55:01PM +0100, Stefan Behnel wrote:

murali wrote:

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.

That's puzzling.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]