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] SBS and Restricted Data Types


Anthony,

It's even easier in CAM since you can do cascading conditionals based on
values across more than one element!

Again - a typical eBusiness need - if your trading partner sets one
codelist value - this restricts or alters the actual codelist values
permitted in another list.
 
And you can do it with XML-scripting instead of having to write code and
compile and build.

Of course everyone has their favourite toolset! ; -)

DW

 -------- Original Message --------
Subject: Re: [ubl-dev] SBS and Restricted Data Types
From: "Anthony B. Coates (OASIS lists)"
<abcoatesecure-oasis@yahoo.co.uk>
Date: Wed, May 03, 2006 10:59 am
To: ubl-dev@lists.oasis-open.org

On Wed, 03 May 2006 13:12:03 +0100, <stephen.green@systml.co.uk> wrote:

> One other thing though: How would you reckon the feasibility
> of logically validating that a subset which includes pattern
> restrictions of strings is a true strict subset of a schema?
> Is it a step too far for now? If so I'd propose that adding
> pattern restrictions might best be kept to specific agreements or
> individual software implementations rather than including such
> in a standardisation effort such as the SBS.

Doing it with Schematron or other XPath-based tools would by tricky.   
However, writing a  SAX filter that checks element/attribute values  
against one or more regular expression is straightforward.

Cheers, Tony.
-- 
Anthony B. Coates
Senior Partner
Miley Watts
Experts In Data
+44 (79) 0543 9026
Data standards participant: ISO 20022 (ISO 15022 XML), ISO 19312,  
UN/CEFACT TMG, MDDL, FpML, UBL.

---------------------------------------------------------------------
This publicly archived list supports open discussion on implementing the
UBL OASIS Standard. To minimize spam in the
archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Alternately, using email: list-[un]subscribe@lists.oasis-open.org
List archives: http://lists.oasis-open.org/archives/ubl-dev/
Committee homepage: http://www.oasis-open.org/committees/ubl/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
Join OASIS: http://www.oasis-open.org/join/ 



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