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 bu...@apache.org on 2002/02/01 20:02:59 UTC
DO NOT REPLY [Bug 6188] -
using schemaLocation cause anonymous types not working.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6188>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6188
using schemaLocation cause anonymous types not working.
sandygao@ca.ibm.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From sandygao@ca.ibm.com 2002-02-01 19:02 -------
The parser is correct in reporting error against your xml/xsd. In your xml
file, "verifyPassword" is bound to the default namespace, but in the xsd
file, "verifyPassword" is declared as a local element, which doesn't have a
target namespace. Putting form="qualified" on the declaration
of "verifyPassword" makes your files valid.
Note that, by default, only global declared elements/attributes are bound to
the target namspace. To have the same effect on local declarations, you need to
either specify "form" on individual declaration, or include
attribute "element/attributeFormDefault" in the <schema> element, with
value "qualified".
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org