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


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.


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