Any word on this? Should I file a JIRA?
-Jake
Jake Goulding wrote:
On further reading, I think that this sentence makes it more clear what
should happen:
"Default namespace declarations do not apply directly to attribute
names; the interpretation of unprefixed attributes is determined by the
element on which they appear"
That is, the code should be something like:
if (namespace uri of attribute == null)
use namespace uri if containing element
-Jake
Jake Goulding wrote:
2/ I don't think that this should cause my program to generate an
exception in this manner. According to the spec:
"The namespace name for an unprefixed attribute name always has no
value." [1]
To me, this says that it is quite possible / likely for an attribute
to have a null URI. However, I would love for clarifications on this
point. For what it is worth, other attributes that *are* in my XSD
seem to work fine.
Thanks!
-Jake
http://www.w3.org/TR/xml-names/#defaulting
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]