← Prev in month ← Prev in thread
Next in thread → Next in month →

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

From
Tim McGrath
Date
2004-03-16T07:28:00+00:00
ID
Thread
Re: [ubl] UBL schema tests draft-8.2 - Unspecialised Data Types
MHonArc v2.5.0b2 -->

















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




From: Tim McGrath <>
To: David Kruppke <>
Date: Tue, 16 Mar 2004 15:43:44 +0800










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
← Prev in month ← Prev in thread
Next in thread → Next in month →