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

Re: schematron for xml schema validation


php xml schema validation
Hi Paul,
Sounds interesting and like a reasonable subject for a presentation,
but what I meant by "controlling the Schematron
 elegantly across a set of schemas" was the need to control Schematron
behavior across a set of XML Schemas, i.e. the external documents
requirement but from the starting point of being able to define a set
of xml schemas to operate across and having the schematron schemas
applied across the set but also interact within the set - perhaps via
an extension mechanism or by having a dsl for controlling the sets. I
have actually received a mail that was close to my requirements, but
it was not publically sent to xml-dev. maybe not ready for announcing
their project yet.

Cheers,
Bryan Rasmussen

On 1/6/06, Paul Spencer <xml-dev@b...> wrote:
> I have used Schematron for tailoring XML schemas for specific requirements.
> I came across this defining specifications for using the Election Markup
> Language for messages between electoral registers in the UK. There was no
> need to access external documents, so I can't help there, but I had to
> produce 15 Schematron schemas, each using a subset of a larger set of rules.
> I think that this might be what you mean by "controlling the Schematron
> elegantly across a set of schemas".
>
> I did this by defining each of the rules in a spreadsheet (with columns for
> rule, context, assert/report etc), then having a column for each of the 15
> message types saying whether that rule applied. I then used a macro to
> generate some simple XML from this and then a stylesheet to produce the 15
> Schematron schemas under the control of a simple ASP script. I expect a real
> programmer could find a better way. Apart from the ease of only modifying a
> single spreadsheet for any changes, this had the advantage that the
> spreadsheet was much easier for the software suppliers that would be using
> the Schematron to understand.
>
> I have submitted this as a case study for XTech 2006.
>
> Regards
>
> Paul Spencer
>
> > -----Original Message-----
> > From: bryan rasmussen [mailto:rasmussen.bryan@g...]
> > Sent: 04 January 2006 13:08
> > To: xml-dev@l...
> > Subject:  schematron for xml schema validation
> >
> >
> > Hey
> > I'm doing a little schematron for validation of spec required xml
> > schema structure, some of the validation rules cannot be done by
> > schematron itself as it involves doing validation across external
> > documents (I am focusing on a schematron that will work in all
> > implementations so use of document function etc. not doable.)
> >
> > Anybody have experience with this problem, ideas for controlling the
> > schematron elegantly across a set of schemas?
> >
> > -----------------------------------------------------------------
> > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> > initiative of OASIS <http://www.oasis-open.org>
> >
> > The list archives are at http://lists.xml.org/archives/xml-dev/
> >
> > To subscribe or unsubscribe from this list use the subscription
> > manager: <http://www.oasis-open.org/mlmanage/index.php>
> >
>
>

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.