I found the xs:anySimpleType bug already reported, so I added my information to the bug report:

https://issues.apache.org/jira/browse/XERCESC-1393

The wildcard namespace issue has been reported here:

https://issues.apache.org/jira/browse/XERCESC-1787

John

David Bertoni wrote:
Boris Kolpackov wrote:
Hi John,

John Snelson <[EMAIL PROTECTED]> writes:

why doesn't the illegal syntax (*:car) give an error in Xerces-C

I am not sure about this. Perhaps Xerces-C++ implements more than
is required by the spec (it should be quite easy to support the
namespace wildcards).
Conforming implementations are not allowed to do "more than required by the spec." The XPath recommendation explicitly disallows using a wildcard in the namespace portion of a QName. (It had been allowed in earlier drafts.)

I think we need to report this as an error.



and why don't the legal syntaxes (below) work?

This has something to do with the fact that your vin attribute
is (implicitly) of xs:anySimpleType. If you make it of some
other type (e.g., int) then 3.0.0 detects duplication. Could
you please create a bug report and attach your schema and XML
files to it?
You might as well mention that we need to tighten up the NameTest checking as well.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
John Snelson, Oracle Corporation            http://snelson.org.uk/john
Berkeley DB XML:        http://www.oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.net

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to