GeoTools
  1. GeoTools
  2. GEOT-2491

cgu:CodeWithAuthorityType not treated as ComplexAttribute by EMFAppSchemaReader

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: app-schema plugin
    • Labels:
      None

      Description

      cgu:CodeWithAuthorityType is not treated as ComplexAttribute by EMFAppSchemaReader, with the symptom being that codeSpace is not set despite ClientProperties being set in app-schema. Seen in PIRSA MinOcc mo:Commodity/commodityGroup and commodityName. Debugging indicates that a bare string is passed for encoding, not a ComplexAttribute as expected.

      	<complexType name="CodeWithAuthorityType">
      		<annotation>
      			<documentation>gml:CodeWithAuthorityType requires that the codeSpace attribute is provided in an
                  instance.</documentation>
      		</annotation>
      		<simpleContent>
      			<restriction base="gml:CodeType">
      				<attribute name="codeSpace" type="anyURI" use="required"/>
      			</restriction>
      		</simpleContent>
      	</complexType>
      

        Activity

        Hide
        Rini Angreani added a comment -
        I think this is part of the problem for: http://jira.codehaus.org/browse/GEOT-2607
        I sort of know how to fix it.. this is another case of complex type with simple content. The fix for last time was half done, I guess.
        Show
        Rini Angreani added a comment - I think this is part of the problem for: http://jira.codehaus.org/browse/GEOT-2607 I sort of know how to fix it.. this is another case of complex type with simple content. The fix for last time was half done, I guess.
        Hide
        Rini Angreani added a comment -
        This issue is covered in GEOT-2607, which is fixed.
        Show
        Rini Angreani added a comment - This issue is covered in GEOT-2607 , which is fixed.
        Hide
        Andrea Aime added a comment -
        Mass closing all issues that have been in "resolved" state for 2 months or more without any feedback or update
        Show
        Andrea Aime added a comment - Mass closing all issues that have been in "resolved" state for 2 months or more without any feedback or update

          People

          • Assignee:
            Rini Angreani
            Reporter:
            Ben Caradoc-Davies
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: