Modular PIP Reference -
Use of XML Schemas Issue 01.00.00 Technical Advisory B
©2003-2004 RosettaNet. All Rights Reserved. 9 02 June 2004
Specification of message guidelines is in human-readable form, using RTF and HTML formats for Monolithic PIPs. Additionally,
message guidelines are provided in machine-readable formats. The preferred format is XML Schemas or XML DTDs. Message
vocabulary comes from RosettaNet dictionaries; each message guideline has its own DTD or XML Schema.
Especially for DTDs, while it allows partners to determine if a message structure is valid, they will not allow partners to
determine if a message is valid with respect to a message guideline for a business document (captured in the RosettaNet
business document UML model). The reason is that DTDs aren’t as rich as the UML and OC L (Object Constraint Language) that
RosettaNet uses to describe business documents designed during PIP analysis sessions. (Note therefore that the only complete
specification of a message guideline is in the human-readable RTF and HTML formats for Monolithic PIPs.)
Although DTDs are well understood and there are plenty of parsing tools available to validate the message structures.
However, DTDs alone are not sufficient to validate a message at a higher level, such as semantics that may include
constraints (absence, presence, etc.) on the elements of a message structure. Unfortunately, there are no mature and open
mechanisms for specifying these constraints with commerical off-the-shelf (COTS) tools available today. (Note that schema
validation tools will be able to validate more of the message than DTD validation tools.)
Opposite to DTDs, as for Modular PIPs the development in XML Schemas has enabled extended capabilities to contain rich
information such as message vocabulary, constraints, data types and choreography. XML Schema enables functionalities that
could validate message at a higher level, such as semantics that may include constraints, restrictions, enumerations etc. on
the elements of a message structure, thus increasing automation and machine-processable capability.
Supply chain partners should review their trading partner agreements in this respect. The UN/EDIFACT and American Legal
Association recommend that partners agree on the point at which a message is legally considered "received" i.e. the point at
which you could send back an acknowledgement of receipt. Such agreement must take into account what partners can do with
tools and must be human-validated at this point. RosettaNet is separately working on recommendations for member Trading
Partner Agreements.
3.
Bibliography – Other Documents
§ Modular PIP Specification Package User Guide, RosettaNet, 2004. (Source: http://www.rosettanet.org)
§ XML Schema Part 1: Structures, W3C Recommendation. Henry S. Thompson (University of Edinburgh), David Beech
(Oracle Corporation), Murray Maloney (for Commerce One), Noah Mendelsohn (Lotus Development Corporation).
Worldwide Web Consortium (W3C), May 2, 2001. (Source: http://www.w3.org/TR/xmlschema-1/)
§ XML Schema Part 2: Datatypes, W3C Recommendation. Paul V. Biron (Kaiser Permanente, for Health Level Seven),
Ashok Malhotra (Microsoft, formerly of IBM). Worldwide Web Consortium (W3C), May 2, 2001. (Source:
http://www.w3.org/TR/xmlschema-2/)
4.
Glossary
Modular (PIP) Specification: In September 2002, RosettaNet Board Members and Voting Community approved the
XML Schema format (also known as Modular) for its standards. The message still includes context and action
information but it is built from a library of data structures. There are more consistent in structure and content. The PIP
message is characterized with XML schema and is machine readable; hence the standards metadata can be
automatically read, configured and aligned. The Modular PIPs are designed and developed based on an Explicit Business
Information Model. In other words, the Modular PIPs are built out of reusable objects, designed in terms of small
cohesive core objects to provide consistent syntax and semantics
Monolithic (PIP) Specification: A Monolithic PIP message includes both context and action information. The message
is characterized with DTD and human readable documents, hence, the standard metadata of the PIP must be manually
read, configured and aligned
XML Schema: specifies the XML Schema definition language, which offers facilities for describing the structure and
constraining the contents of XML 1.0 documents, including those which exploit the XML Namespace facility. The schema
language, which is itself represented in XML 1.0 and uses namespaces, substantially reconstructs and considerably
extends the capabilities found in XML 1.0 document type definitions (DTDs)