As an addendum to Jon's email, let me reaffirm UBL NDR's willingness to review and discuss matters related to UBL representation in other schema languages - as well as consider issues associated with UBL's NDR Rules.
Mark Crawford
Research Fellow - LMI XML Lead
W3C Advisory Committee, OASIS, RosettaNet Representative
Vice Chair - OASIS UBL TC & Chair Naming and Design Rules Subcommittee
Chair - UN/CEFACT XML Syntax Working Group
Editor - UN/CEFACT Core Components
______
Logistics Management Institute
2000 Corporate Ridge, McLean, VA 22102-7805
(703) 917-7177 Fax (703) 917-7481
Wireless (703) 655-4810
<http://www.lmi.org/>
"Opportunity is what you make of it"
> -----Original Message-----
> From: [mailto:]
> Sent: Thursday, December 04, 2003 7:15 PM
> To:
> Subject: [ubl] RNG schemas for UBL
>
>
> Hello UBL TC,
>
> When we started UBL in OASIS two years ago, we inherited from the
> ad hoc UBL planning group a very early NDR decision to avoid the
> use of XSD features that would prevent the realization of UBL in
> other schema syntaxes, in particular Relax NG, which is an ISO
> standard that many people prefer to XSD. Relax NG compatibility
> was dropped as a formal NDR requirement some time ago, but it
> remains a desirable goal.
>
> The IEC ISO ITU UN/ECE eBusiness MoU Management Group, which has
> maintained UBL on its continuing agenda for two years now,
> is on record with the following recommendations:
>
> 02/07 (6.4 of N0113): It is recommended that RELAX NG, ASN.1,
> and XSD be considered as important and to some extent
> complementary candidates for XML schema definitions.
>
> 02/08 (6.4 of N0113): It is recommended that groups producing
> XML schemas for Ebusiness should consider parallel
> specification using at least two of the above in order to
> maximize the tools available to developers, and in order to
> benefit from efficient binary encoding (currently available
> only in ASN.1).
>
> I was happy to be able to report to the MoU/MG at its meeting near
> Detroit 24-25 November that UBL has included an ASN.1 binding
> since version 0.7 and that a team has been formed under the
> direction of Professor Naito at the Osaka Institute of Technology
> to create Relax NG equivalents of the UBL 1.0 XSD schemas.
>
> Professor Naito has just reported the results of early work by his
> team in the message to the UBL LCSC and TTSC below. I am copying
> it to the UBL list in an attempt to stop cross-posting between
> SCs, a subject that will be taken up in tomorrow's coordination
> call, and in order to put Naito-san's work in front of a wider
> audience that includes some Relax NG experts so that they can
> evaluate his approach.
>
> Since we have no SC devoted to Relax NG practices for UBL, and
> since Relax NG alignment is not a formal requirement for UBL, I
> suggest that people interested in the subject forward this message
> to other interested parties and correspond with Professor Naito
> directly for the moment regarding the questions raised in his
> message.
>
> In the future, I hope that Professor Naito will continue to update
> us on his progress by posting to the public ubl-dev list that will
> be announced shortly so that this important project receives the
> widest possible exposure.
>
> Jon
>
> ==================================================================
>
> Date: Thu, 04 Dec 2003 17:19:46 +0900
> To: ,
> From: Hiroshi Naito <>
>
> Hi,
>
> We describe some UBL schema using Relax NG which are manually
> translated from
> W3c XML schema of UBL-1.0-beta.
>
> The attached zip includes files following:
>
> UBL-CodeList-CountrySubentityCod -1.0-beta.xsd
> UBL-CodeList-CountrySubentityCode-1.0-beta.rng
> UBL-CoreComponentParameters-1.0-beta.rng
> UBL-CoreComponentParameters-1.0-beta.xsd
> UBL-CoreComponentTypes-1.0-beta.rng
> UBL-CoreComponentTypes-1.0-beta.xsd
> UBL-DataTypes-1.0-beta.rng
> UBL-DataTypes-1.0-beta.xsd
> UBL-RepresentationTerms-1.0-beta(CodeType).rng
> UBL-RepresentationTerms-1.0-beta(CodeType).xsd
> UBL-RepresentationTerms-1.0-beta(IndicatorType).rng
> UBL-RepresentationTerms-1.0-beta(IndicatorType).xsd
>
> Files with .rng extension are Relax NG schema corresponding to
> W3C XML schema file with .xsd extension.
>
> For showing what must be generated by translating tool,
> only one element and type is included in each schema files.
>
> When we study the difference of the power between XML Schema and
> Relax NG, the following XML Schema definition is not translated
> to Relax NG.
>
> UBL-RepresentationTerms-1.0-beta(IndicatorType).xsd
>
> <xsd:simpleType name="IndicatorType">
> <xsd:restriction base="cct:IndicatorType">
> <xsd:pattern value="false"/>
> <xsd:pattern value="true"/>
> </xsd:restriction>
> </xsd:simpleType>
>
> The definition of IndicatorType in Relax NG cannot be
> restricted values of
> pattern such as following.
>
> UBL-RepresentationTerms-1.0-beta(IndicatorType).rng
> <define name="IndicatorType">
> <ref name="IndicatorType"
> ns="urn:oasis:names:tc:ubl:CoreComponentParameters:1:0-beta" />
> </define>
>
> We will translate restriction pattern of XML schema to
> comment text in Relax NG.
>
> We hope suggestion and advice for Relax NG schema.
>
> Thanks
>
> Naito
>