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

Examples using custom types are invalid

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Implemented (View Workflow)
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7
    • Component/s: all
    • Labels:
      None

      Description

      customQuery.jdf and its siblings have the following

      xmlns="http://www.CIP4.org/JDFSchema_1_1"
      xmlns:Circus="Circus Schema URI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <Query ID="Q1" Type="Circus:IsClownHappy" xsi:type="QueryIsClownHappy">

      The value of xsi:type is wrong as it infers the type is from the default i.e. JDF namespace.

      At very least it should be

      <Query ID="Q1" Type="Circus:IsClownHappy" xsi:type="Circus:QueryIsClownHappy">

      I think for the example this is ok - however, I think it presumes that a definition for the type can be found and thus the creator would need to suppy a schema for the Circus. I can't establish if this is precisely the case though, so I'd go with my fix above.

        Draft

         

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                GrahamMann Graham Mann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: