You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Aleksandar Milanovic <am...@galdosinc.com> on 2002/09/05 23:35:44 UTC

validation adds a fixed optional attribute that does not comply with the attribute form

Hi All,

This problem happended indeed with a nightly build (Xerces 2.0.2, August
19), but it could still be lurking around. Xerces complies with the XML
Schema spec. in that it adds fixed optional attributes that are missing in
an instance document. The problem is that the added attribute is not
qualified, although its schema definition defines it explicitly as a
qualified attribute (using form="qualified"). The result is an invalid
instance document (isn't it ironic that the validation of a valid document
produces an invalid document :)).

Anyone know if this has been fixed in the mean time?

thx
Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org


RE: validation adds a fixed optional attribute that does not comply with the attribute form

Posted by Aleksandar Milanovic <am...@galdosinc.com>.
It appears that this problem still exists in Xerces 2.1.0.

Alex

-----Original Message-----
From: Aleksandar Milanovic [mailto:amilanovic@galdosinc.com]
Sent: Thursday, September 05, 2002 2:36 PM
To: Xerces-J-User
Subject: validation adds a fixed optional attribute that does not comply
with the attribute form


Hi All,

This problem happended indeed with a nightly build (Xerces 2.0.2, August
19), but it could still be lurking around. Xerces complies with the XML
Schema spec. in that it adds fixed optional attributes that are missing in
an instance document. The problem is that the added attribute is not
qualified, although its schema definition defines it explicitly as a
qualified attribute (using form="qualified"). The result is an invalid
instance document (isn't it ironic that the validation of a valid document
produces an invalid document :)).

Anyone know if this has been fixed in the mean time?

thx
Alex


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org