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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-dev message

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


Subject: Re: [ubl-dev] Catalogue for ubl pricelist validation ?


Hi Stephen,

Thanks for all your help. It looks good.

I'll try getting it incorporated into the project sometime soon.

Regards

David



Stephen Green wrote:
> Sorry, I did miss Party subset
>
>                <xsd:complexType name="PartyType">
> 		<xsd:sequence>
> 			<xsd:element ref="PartyIdentification" minOccurs="0" maxOccurs="unbounded"/>
> 			<xsd:element ref="PartyName" minOccurs="0" maxOccurs="unbounded"/>
> 			<xsd:element ref="PostalAddress" minOccurs="0"/>
> 		</xsd:sequence>
> 	</xsd:complexType>
> 	
>
>   
>>>> "Stephen Green" <stephen.green@bristol.gov.uk> 05/02/07 10:40:59 >>>
>>>>         
> Hi David,
>
> Why not go the whole way and send to list some
> subset schema frags to match, me thinks. So here 
> goes, sorry for the length of the email. It might be
> sufficient to copy and paste these into Catalogue
> and CommonAggregate UBL files to get a subset
> set of schema files. CAM may be preferable though.
>
> Compliments, Stephen Green
>
> Subset For Catalogue Document:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- id="systml-preisshare-maindoc-CatalogueForPriceList-2" -->
> <!--
>
>   Document Type:     Catalogue
>   Customization:      SystML for PreisShare
>   Date:                Jan 2007
>
>
> -->
> <xsd:schema targetNamespace="urn:oasis:names:specification:ubl:schema:xsd:Catalogue-2" xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" xmlns:ext="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" xmlns:ccts="urn:un:unece:uncefact:documentation:2" xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" xmlns="urn:oasis:names:specification:ubl:schema:xsd:Catalogue-2" xmlns:xsd="http://www.w3.org/2001/XMLSchema"; elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.0">
> 	<!-- ===== Imports ===== -->
> 	<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2" schemaLocation="../common/UBL-CommonAggregateComponents-2.0.xsd"/>
> 	<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2" schemaLocation="../common/UBL-CommonBasicComponents-2.0.xsd"/>
> 	<xsd:import namespace="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2" schemaLocation="../common/UnqualifiedDataTypeSchemaModule-2.0.xsd"/>
> 	<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonExtensionComponents-2" schemaLocation="../common/UBL-CommonExtensionComponents-2.0.xsd"/>
> 	<xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2" schemaLocation="../common/UBL-QualifiedDatatypes-2.0.xsd"/>
> 	<!-- ===== Root Element ===== -->
> 	<xsd:element name="Catalogue" type="CatalogueType"/>
> 	<xsd:complexType name="CatalogueType">
> 		<xsd:sequence>
> 			<xsd:element ref="cbc:UBLVersionID" minOccurs="0"/>
> 			<xsd:element ref="cbc:CustomizationID" minOccurs="0"/>
> 			<xsd:element ref="cbc:ProfileID" minOccurs="0"/>
> 			<xsd:element ref="cbc:ID"/>
> 			<xsd:element ref="cbc:IssueDate"/>
> 			<xsd:element ref="cac:ProviderParty"/>
> 			<xsd:element ref="cac:ReceiverParty"/>
> 			<xsd:element ref="cac:CatalogueLine" maxOccurs="unbounded"/>
> 		</xsd:sequence>
> 	</xsd:complexType>
> 	<!-- ===== Element Declarations ===== -->
> 	<!-- ===== Type Definitions ===== -->
> 	<!-- ===== Basic Business Information Entity Type Definitions ===== -->
> </xsd:schema>
>
>
>
> relevant aggregate portions (I hope I've not missed any in haste)
>
>                 <xsd:complexType name="AddressType">
> 		<xsd:sequence>
> 			<xsd:element ref="cbc:ID" minOccurs="0"/>
> 			<xsd:element ref="cbc:CityName" minOccurs="0"/>
> 			<xsd:element ref="cbc:PostalZone" minOccurs="0"/>
> 			<xsd:element ref="cbc:CountrySubentity" minOccurs="0"/>
> 			<xsd:element ref="AddressLine" minOccurs="0" maxOccurs="unbounded"/>
> 			<xsd:element ref="Country" minOccurs="0"/>
> 		</xsd:sequence>
> 	</xsd:complexType>
> 	
>
>                  <xsd:complexType name="CatalogueLineType">
> 		<xsd:sequence>
> 			<xsd:element ref="cbc:ID"/>
> 			<xsd:element ref="RequiredItemLocationQuantity" minOccurs="0" maxOccurs="1"/>
> 			<xsd:element ref="Item"/>
> 		</xsd:sequence>
> 	</xsd:complexType>
> 	
>                 <xsd:complexType name="ItemType">
> 		<xsd:sequence>
> 			<xsd:element ref="cbc:Description" minOccurs="0" maxOccurs="unbounded"/>
> 			<xsd:element ref="cbc:Name" minOccurs="0"/>
> 			<xsd:element ref="SellersItemIdentification" minOccurs="0"/>
> 		</xsd:sequence>
> 	</xsd:complexType>
> 	
>                 <xsd:complexType name="ItemLocationQuantityType">
> 		<xsd:sequence>
> 			<xsd:element ref="Price" minOccurs="0"/>
> 		</xsd:sequence>
> 	</xsd:complexType>
> 	
>                  <xsd:complexType name="PriceType">
> 		<xsd:sequence>
> 			<xsd:element ref="cbc:PriceAmount"/>
> 			<xsd:element ref="cbc:BaseQuantity" minOccurs="0"/>
> 		</xsd:sequence>
> 	</xsd:complexType>
> 	
>
> ______________________________________________________________________
> Please note the new simpler name for our website: http://www.bristol.gov.uk 
>
> Our email addresses have also changed - visit http://www.bristol.gov.uk/bigchange for further details.
>
> Sign-up for our email bulletin giving news, have-your-say  and event information at: http://www.bristol.gov.uk/newsdirect 
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ubl-dev-unsubscribe@lists.oasis-open.org 
> For additional commands, e-mail: ubl-dev-help@lists.oasis-open.org 
>
> ______________________________________________________________________
> Please note the new simpler name for our website: http://www.bristol.gov.uk 
>
> Our email addresses have also changed - visit http://www.bristol.gov.uk/bigchange for further details.
>
> Sign-up for our email bulletin giving news, have-your-say  and event information at: http://www.bristol.gov.uk/newsdirect 
>
>
>
> ______________________________________________________________________
> Please note the new simpler name for our website: http://www.bristol.gov.uk
>
> Our email addresses have also changed - visit http://www.bristol.gov.uk/bigchange for further details.
>
> Sign-up for our email bulletin giving news, have-your-say  and event information at: http://www.bristol.gov.uk/newsdirect 
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ubl-dev-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: ubl-dev-help@lists.oasis-open.org
>
>
>   



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