-
Type:
Story
-
Status: Implemented (View Workflow)
-
Priority:
Normal
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Introduction, Structure
-
Labels:
since namespaces are NOT attributes and can be declared in various parent scopes we should define the uris in a special namespace section and the say "do namespaces"
this also applies to ICS and ptk appropriately
1.4.1 Use of XML Namespaces
XJDF requires the use of XML namespaces. For details on using namespaces in XML, see [XMLNS]. The namespace for this
version 2.0 of XJDF is "http://www.CIP4.org/JDFSchema_2_0" and SHALL be declared and SHOULD use either the default
namespace or a prefix of 'xjdf'.
In a number of places XJDF allows for the use of items from a foreign namespace. If the instance contains such items
then the foreign namespace SHALL be declared.
1.4.3 Schema and XJDF Context.
...
Both schemas are defined for the XJDF namespace: http://www.CIP4.org/JDFSchema_2_0. The namespace prefix for elements that are defined in the XJDF namespace should be one of ‘xjdf’ or
no prefix, i.e. the default namespace.
For convenience the latest schema implementation can be found online as shown in the following table. Conforming XML
documents NEED NOT use this in an xsi:schemaLocation attribute.
Table 3.1: XJDF
xmlns | ... | ... |
<and ptk and jdf>