Next in thread → Next in month →

RE: [xml-dev] Namespace declaration versus attribute

From
Bill de hÓra <>
To
'Amelia A Lewis' <>,
Date
2002-08-21T08:57:01Z
ID
<000e01c248f0$c947ec00$1fc8c8c8@mitchum>
Thread
RE: [xml-dev] Namespace declaration versus attribute
> -----Original Message-----
> From: Amelia A Lewis [mailto:] 
>
> Add namespace-awareness to the processor, and both examples 
> are now DTD-valid.  

No they're not. If a parser told you that, it has a defect, and you
should report it. 


> It follows that the namespaces 
> recommendation either changes the content model of every 
> element, permitting the xmlns attribute and any attribute in 
> the namespace bound to the prefix xmlns (which is different 
> than the namespace bound by the xmlns attribute).  Or 
> namespace declarations are not attributes.

It doesn't follow when you're using a defective parser. On the other
hand if a lot of parsers are doing that, perhaps the parser writers
should being feeding back into the XML Activity ;)

regards,
Bill de hÓra

..
Propylon
www.propylon.com
Next in thread → Next in month →