cos-equiv-derived-ok-rec appears not to be validated
----------------------------------------------------

         Key: XERCESJ-1108
         URL: http://issues.apache.org/jira/browse/XERCESJ-1108
     Project: Xerces2-J
        Type: Bug
  Components: XML Schema Structures  
 Environment: OSX 10.3.9
    Reporter: Mark Goodhand
 Attachments: cos-equiv-tests.zip

I recently validated a schema which I expected to violate 
cos-equiv-derived-ok-rec, but Xerces (2.7.1) did not report an error.  SQC does 
report the cos-equiv violation.

AFAICT, the string 'cos-equiv-derived-ok-rec' does not appear anywhere in the 
current codebase (SVN, as of revision 328608).  Searching back through the 
history, it appears that 'cos-equiv-derived-ok-rec' was in the resource bundle 
XMLSchemaMessages.properties in revision 319267 (CVS 1.67), but was removed in 
319271 (CVS 1.68).

Of course, in revision 319267 the *only* place the string 
'cos-equiv-derived-ok-rec' occurs is in XMLSchemaMessages.properties.

I assume I must be missing something, because it appears that this constraint 
has never been enforced.

I've attached a test case.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Reply via email to