You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Martin Gudgin <ma...@develop.com> on 2001/01/03 19:46:03 UTC
Namespace parsing bug in Xerces
Xerces 1.2.2 and 1.2.3 do not catch the following incorrect XML
<root>
<b:bar xmlns:b='' />
</root>
The namespace rec explicitly states that if a prefix is present in the
namespace declaration then the attribute value cannot be the empty string.
See[1] third [Definition] starting 'If the attribute name matches
PrefixedAttName'
Martin Gudgin
DevelopMentor
[1] http://www.w3.org/TR/REC-xml-names/#ns-decl