DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17819>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17819

failure to load grammar if an abstract element is in substitutionGroup of another 
abstract element

           Summary: failure to load grammar if an abstract element is in
                    substitutionGroup of another abstract element
           Product: Xerces-C++
           Version: 2.2.0
          Platform: PC
               URL: http://www.opengis.net/namespaces/gml/core/feature.xsd
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Validating Parser (Schema) (Xerces 1.5 or up only)
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


schema parser v2.2.0 chokes on the following lines:

<element name="_Feature" type="gml:AbstractFeatureType" abstract="true" /> 
<element name="_FeatureCollection" type="gml:AbstractFeatureCollectionType" 
abstract="true" substitutionGroup="gml:_Feature" /> 

with the error message:

For '_FeatureCollection' to be a member of the substitution group set 
of 'gml:_Feature', its {abstract} must be false.

schema parser v2.1.0 parsed this without problems.

An abstract element being in the substitutionGroup of another abstract element 
is not forbidden by the schema spec.

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

Reply via email to