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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10125

--- Comment #7 from David Ezell <David_E3@VERIFONE.com> 2011-03-08 01:28:33 UTC ---
I have tested Sandy's Schema from comment #5
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10125#c5

With the following implementations:
1) MSXML4.0 SP2 and 
2) XMLSpy 2008

I used the following instance document to validate:
<?xml version="1.0" encoding="UTF-8"?>
<e>123</e>

For MSXML4.0 SP2
----------------
The program loads the Schema Document successfully (ignoring the issues in the
xs:annotation element) and validates the instance document correctly.  (N.B. I
checked behavior when <e>xyz</e> in the instance document, and the validator
correctly reports the error).

Result:  MSXML4.0 SP2 appears (by default) to ignore the contents of
<xs:annotation/>

For XMLSpy 2008
---------------
With default settings in place, XMLSpy declines to allow validation until I
have commented out both the "offending" lines in the schema.  

Result: XMLSpy 2008 appears (by default) to validate the contents of
<xs:annotation/>.  Various manipulation of the schema document proves that it
will accept an integer value for <e/> inside <xs:annotation/>, and rejects
non-integer values.

-- 
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 Tuesday, 8 March 2011 01:28:35 UTC