Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-10032

Blank xpath in iesp definition generates invalid schema

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: ESP
    • Labels:
      None

      Description

      iesp layout containing the following:

      export t_StringElementWithMatchTypeAttribute := record
      string MatchType

      {xpath('@MatchType')}

      ;
      string Content_

      {xpath('')}

      ;
      end;

      generates an invalid schema (per Tony Fishbeck, name = ""):

      <xs:element minOccurs="0" name="StateReportNumber">
      <xs:complexType>
      <xs:sequence>
      <xs:attribute name="MatchType" type="xs:string" use="required"/>
      <xs:element minOccurs="0" name="" type="xs:string"/>
      </xs:sequence>
      </xs:complexType>
      </xs:element>

        Attachments

          Activity

            People

            • Assignee:
              afishbeck Anthony Fishbeck
              Reporter:
              kev77log Kevin Logemann
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: