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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl message

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


Subject: Re: [ubl] UBL schema tests draft-8.2 - Unspecialised Data Types


I have a few questions about the schema "UBL-UnspecializedDatatypes-1.0-draft-8.2.xsd"  (apart from its name which should be "UBL-UnspecialisedDatatypes-1.0-draft-8.2.xsd" - no "z" please, we're british).

The structure for BinaryObjectType is...
     <xsd:restriction base="cct:BinaryObjectType">
        <xsd:attribute name="format" type="xsd:string" use="optional"/>
        <xsd:attribute name="filename" type="xsd:string" use="optional"/>
        <xsd:attribute name="encodingCode" type="xsd:normalizedString" use="optional"/>
        <xsd:attribute name="characterSetCode" type="xsd:normalizedString" use="optional"/>
        <xsd:attribute name="mimeCode" type="xsd:normalizedString" use="optional"/>
        <xsd:attribute name="URI" type="xsd:anyURI" use="optional"/>
      </xsd:restriction>

I was expecting....
     <xsd:restriction base="cct:BinaryObjectType">
        <xsd:attribute name="mimeCode" type="xsd:normalizedString" use="optional"/>
      </xsd:restriction>

The model (and previous schema) restricted the UDT of BinaryObjectType to just this one supplementary component, but your schema does not - have i read this correctly?

Similarly,
* the Unspecialised Data Type for Amount is supposed to have amountCurrencyID as mandatory/required yet it appears to just copy the CCT defintions.
* the Unspecialised Data Type for Measure is supposed to have measureUnitCode as mandatory/required yet it appears to just copy the CCT defintions.
* the Unspecialised Data Type for Quantity is supposed to have qauntityUnitCode as mandatory/required yet it appears to just copy the CCT defintions.

In fact, are any of the UDTs different from the CCTs  - apart from defining alternative names for the secondary representation terms?  Check the spreadsheet model if you need clarification.
 

David Kruppke wrote:
Hello all,

this is version draft-8.2.

It improves version 8.1 through containing the codes Anne sent to the ubl
list, but there are not any annotation-documentation for the code values.

I need a decision how the documentation for codes should look like.


Thanks in advance


David
  

To unsubscribe from this mailing list (and be removed from the roster of the OASIS TC), go to http://www.oasis-open.org/apps/org/workgroup/ubl/members/leave_workgroup.php.

-- 
regards
tim mcgrath
phone: +618 93352228  
postal: po box 1289   fremantle    western australia 6160



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