[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Rick Jelliffe on designing XML Schemas in a way that suppo

  • From: "G. Ken Holman" <gkholman@CraneSoftwrights.com>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Sun, 19 Aug 2012 19:47:13 -0400

Re:  Rick Jelliffe on designing XML Schemas in a way that suppo
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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.