OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-hisc message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: XPath files for UBL 1.0 Small Business Subset 1.0


Good morning UBL-HISC members,

Please find attached the XPath files for the effort formally known as 
"Universal Business Language - Small Business Subset", formerly referred to 
by its concept development moniker "UBL-Lite".

With Stephen Green's gallant effort, we are now up to I think at least the 
4th revision of the SBS profile.  When complete and agreed upon, these will 
be "UBL 1.0 Small Business Subset 1.0" ... I've dated it for now until 
things settle down, then it will have its own revision cycle and numbering 
while it is based on UBL 1.0 ... then there will be a new 1.0 subset for 
UBL 1.1 with its own cycle ... etc.

In this zip there are seven document types (UBL Order Change is not 
included) and three report files per document type (HTML, text, and XML) 
summarizing a list of all possible XPath addresses that are valid for 
instances of each of the document types.

Cardinality can be found in the official UBL W3C schemas, which are 
normative to the SBS profile.

It is not the role of these XPath expressions to change any normative 
specification or schema.  They are merely guidelines for summarizing those 
components of UBL 1.0 that make up UBL-1.0-SBS-1.0 ... instances of the SBS 
profile will validate using official UBL 1.0 W3C schema files, so there is 
no need for a new expression of the UBL schemas.

Users of UBL-1.0-SBS-1.0 can choose to use any expression of constraints 
they wish to express the subset profile as a supplement to the official UBL 
schemas used for position and cardinality of the components of an instance.

The HTML and text XPath files enumerate all XPath addresses, without 
consideration for cardinality.  When the HTML files are rendered using 
Internet Explorer, clicking on any XPath address will copy that address to 
the clipboard, allowing one to paste the address into any document without 
having to retype the entire string.  If you need to just copy and paste the 
XPath address, then use the text files, as the HTML files have Unicode 
zero-width-space characters after each "/" to promote sensible line-breaks 
in narrow presentations.

The XML files are well-formed UBL SBS instances with one of everything, but 
are not useful as validated UBL SBS profile examples because their forced 
completeness could never be validated by the models.  However, many 
XML-based technologies rely solely on well-formedness and not on validity, 
such as XSLT 1.0, so these XML XPath files can actually be run through XSLT 
1.0 stylesheets without error.

The namespace prefixes adopted for documentary purposes in these files are 
interpreted as follows (note that there is no obligation to use these 
prefixes in UBL documents):

xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-1.0"
xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-1.0"
xmlns:da="urn:oasis:names:specification:ubl:schema:xsd:DespatchAdvice-1.0"
xmlns:in="urn:oasis:names:specification:ubl:schema:xsd:Invoice-1.0"
xmlns:po="urn:oasis:names:specification:ubl:schema:xsd:Order-1.0"
xmlns:ra="urn:oasis:names:specification:ubl:schema:xsd:ReceiptAdvice-1.0"
xmlns:ro="urn:oasis:names:specification:ubl:schema:xsd:OrderResponse-1.0"
xmlns:rs="urn:oasis:names:specification:ubl:schema:xsd:OrderResponseSimple-1.0"
xmlns:xo="urn:oasis:names:specification:ubl:schema:xsd:OrderCancellation-1.0"

Feedback is welcome!

Thank you, Stephen, for your efforts.

............................ Ken

UBL-1.0-SmallBusinessSubset-1.0-20050124-1230z-XPath.zip


--
World-wide on-site corporate, govt. & user group XML/XSL training.
G. Ken Holman                 mailto:gkholman@CraneSoftwrights.com
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/o/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Breast Cancer Awareness  http://www.CraneSoftwrights.com/o/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]