You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2003/03/10 11:15:33 UTC

DO NOT REPLY [Bug 17819] New: - failure to load grammar if an abstract element is in substitutionGroup of another abstract element

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: xerces-c-dev@xml.apache.org
        ReportedBy: martin@formicula.fsnet.co.uk


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: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org