Uploaded image for project: 'XJDF / JDF'
  1. XJDF / JDF
  2. JDF-104

JDF SChema Parsing and "Lot" emply string

    XMLWordPrintable

    Details

      Description

      Schema validation (1.3 or 1.5b25) cause the following incorrect error.
      'Lot': Character content is not allowed, because the content type is empty.

      if you change:-
      <Lot
      ActualAmount="5250"
      Consumption="Full"
      LotID="LN1040788312RN2005091-04">
      </Lot>
      to:-
      <Lot ActualAmount="5250" Consumption="Full" LotID="LN1040788312RN2005091-04"></Lot>

      by removing the space characters, parsing error goes away.
      However, other elements have no such error in similar circumstances such as:-

      <Component
      Class="Quantity"
      ComponentType="Sheet"
      ID="RI009"
      Locked="false"
      PartUsage="Explicit"
      SpawnStatus="NotSpawned"
      Status="Unavailable">
      </Component>

        Draft

        Schema fix.

         

          Attachments

            Activity

              People

              • Assignee:
                prosi Rainer Prosi
                Reporter:
                martgoodall martin goodall
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: