W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2010

[Bug 10125] Validation of the content of xs:annotation

From: <bugzilla@jessica.w3.org>
Date: Fri, 10 Dec 2010 18:14:13 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1PR7Tx-0001yQ-5l@jessica.w3.org>

Sandy Gao <sandygao@ca.ibm.com> changed:

           What    |Removed                     |Added
                 CC|                            |sandygao@ca.ibm.com

--- Comment #5 from Sandy Gao <sandygao@ca.ibm.com> 2010-12-10 18:14:12 UTC ---
The WG decided to collect information on how existing processors behave in this
area. For Xerces2-J, if I process the following schema document:

<xs:schema xmlns:xs ="http://www.w3.org/2001/XMLSchema">
      <xs:element bad="bad"/>
  <xs:element name="e" type="xs:int"/>

and turn on the "http://apache.org/xml/features/validate-annotations" feature,
I get an error complaining the value "xyz" of "e" not being an "xs:int". If I
remove the <e>xyz</e> element, then there is no error.

Conclusion: Xerces2-J is using the schema being constructed, and not the schema
for schemas, when validating annotations.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 10 December 2010 18:14:15 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:11 UTC