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

xsi:schemalocation is incorrect in examples

    XMLWordPrintable

    Details

      Description

      example shows:-
      xsi:schemaLocation="http://www.CIP4.org/Schema/JDFSchema_1_4/JDF.xsd"
      but this is invalid according to W3 XML definition where value must be in pairs of namespace, file
      see http://www.w3.org/TR/xmlschema-1/#schema-loc
      line should read:-
      xsi:schemaLocation="http://www.CIP4.org/Schema/JDFSchema_1_1 http://www.CIP4.org/Schema/JDFSchema_1_4/JDF.xsd"

        Draft

        B.1.1 Using xsi:type with JDF Nodes

        Page 939 B.1.1 Using xsi:type with JDF Nodes
        The xsi:schemaLocation declaration is missing the namespace uri: "http://www.CIP4.org/Schema/JDFSchema_1_1 http://www.CIP4.org/Schema/JDFSchema_1_4/JDF.xsd".

        <JDF xmlns="http://www.CIP4.org/JDFSchema_1_1" ID="BackCover" Status="InProgress"
            Type="DigitalPrinting" Version="1.4" JobPartID="345"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://www.CIP4.org/Schema/JDFSchema_1_1 http://www.CIP4.org/Schema/JDFSchema_1_4/JDF.xsd"
            xsi:type="DigitalPrinting">
        
         

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  prosi Rainer Prosi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: