Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-834

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • None
    • Operating System: Windows NT/2K
      Platform: PC
    • 17819

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            martin@formicula.fsnet.co.uk Martin Schaefer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment