abstract element validation
---------------------------

         Key: XERCESJ-1087
         URL: http://issues.apache.org/jira/browse/XERCESJ-1087
     Project: Xerces2-J
        Type: Bug
  Components: XML Schema Structures  
    Versions: 2.6.2    
 Environment: Linux redhat 7.1
    Reporter: Adnane BERRADA


the following schema seems valid for xerces even if the parent element is 
abstract and does not belong to any substitution group.

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="integ0" xmlns="integ0" 
xmlns:xs="http://www.w3.org/2001/XMLSchema";  elementFormDefault="qualified" 
attributeFormDefault="unqualified" >
  <xs:element name="parent" type="xs:string" abstract="true"/>
  <xs:element name="fooTest">
    <xs:complexType>
      <xs:all>
        <xs:element ref="parent"/>
      </xs:all>
    </xs:complexType>
  </xs:element>
</xs:schema>


-- 
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