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

Re: A single, all-encompassing data validation language - good

  • From: "Chris Scott" <scott.chris@g...>
  • To: "Fraser Goffin" <goffinf@g...>
  • Date: Tue, 7 Aug 2007 14:25:38 -0400

Re:  A single
On 8/7/07, Fraser Goffin <goffinf@g...> wrote:
> I seem to recall that the approach to embedding schematron rules directly
> into W3C schema have been somewhat defined already, although of course I'm
> not sure whether there are validating parsers support this style natively (I
> have the feeling that Daniel Cazzulino's schemaTron.Net used to, but I'm not
> sure what happened to this implementation).

Thanks for reminding me of that link. There's a handy stylesheet
(XSD2Schtrn.xsl), included with that article that allows you to pull
out the embedded schematron and run the validation in a two step
process.  I built a handy library a bit back to use the iso_skeleton
and the aforementioned stylesheet to use xsd+schematron but it always
felt like a hack and I never put it into a production system.  (Look
at all of the transformations! 3 transformations just for the
schematron step)

Using I'd argue against embedding schematron elements using
//xs:annotation/xs:appinfo/ if schematron is included in the spec,
mostly for the sake of brevity.  Since we'd change the existing spec,
we wouldn't have to worry about it needed to be in appinfo.  I'd also
argue against embedding anywhere in the grammar definition, but I'm
going to follow up on that in another post.


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


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.
First Name
Last Name
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.