XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Rick Jelliffe on designing XML Schemas in a way that support parts which frequently change

At 2012-08-19 23:14 +0100, Fraser Goffin wrote:
>The most obvious example of which is used by UBL which promotes this
>approach for 'value based' validation (which isn't restricted simpy to
>enums and can be quite successfully used for any information item).
>UBL actually takes things a little further and caters not only for
>dealing with multi-version validation but also context based
>validation too (i.e. different subsets that apply to different
>locations within the instance).
>
>Ken Holman may be along shortly to correct my clumsy description.

I have nothing to add, Fraser, that was said quite well.

>That said, if Rick was using enums as just one possible use case for
>schema volatility where schematron could play a role, and there are
>others, then as Roger suggests, it is a topic that many are interested
>in and probably deserves another outing.

Schematron does play a role in the UBL scenario you've described, as 
I've published for free download an environment that converts the 
combination of OASIS Context/Value Association and OASIS Genericode 
into a synthesized Schematron expression that can then be converted 
into XSLT (or any other implementation of Schematron; the XSLT 
implementation is included in the distribution):

   genericode 1.0 - lists of codes with list-level and value-level meta data

     http://docs.oasis-open.org/codelist/ns/genericode/1.0/

   context/value association using genericode 1.0
                  - contextual code list usage and instance-level meta data

     http://docs.oasis-open.org/codelist/ns/ContextValueAssociation/1.0/

   Schematron implementation of CVA files for validation

     http://www.CraneSoftwrights.com/resources/ubl/index.htm#codelist

The OASIS UBL distribution includes XSLT that is generated using this package.

I hope this helps.

. . . . . . . . . . . . . Ken


--
Public XSLT, XSL-FO, UBL and code list classes in Europe -- Oct 2012
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/x/
G. Ken Holman                   mailto:gkholman@CraneSoftwrights.com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal



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


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS