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

New W3C XML Schema facet ? [was: RDDL Schematron Schema]

  • From: Eric van der Vlist <vdv@d...>
  • To: Jonathan Borden <jborden@m...>
  • Date: Fri, 26 Jan 2001 09:41:25 +0100

schema facet
Jonathan Borden wrote:
> 
> I've added a Schematron schema to RDDL (i probably should make y'all look at
> http://www.rddl.org/ to find it but its at: http://www.rddl.org/rddl.sch).
> Schematron is interesting in that it allows constraints which are otherwise
> very difficult to express in for example RELAX or TREX. For example, an
> xlink:arcrole and xlink:role must have a value of a URI reference, but not a
> relative URI reference. (This could also be expressed in an XML Schema
> pattern).

This doesn't seem obvious to fully test since it's depending on the URI
scheme.

For instance, shouldn't "file:myrole.xml" be considered as a relative
reference even though it will pass through your schematron rule ?

The nature of the URI (absolute|relative) would make an interesting
facet for the W3C XML Schema uriReference datatype [1]...

This example is also showing how useful it would be to be able to "hook"
Schematron like rules into other schema languages... 

My 0.02 Euros

Eric

[1] http://www.w3.org/TR/xmlschema-2/#uriReference

> On the other hand I'm not at all sure how to express the constraint that a
> rddl:resource have a content model of %Flow.mix; from XHTML. Anyone have a
> good idea about this?
> 
> -Jonathan

-- 
------------------------------------------------------------------------
Eric van der Vlist       Dyomedea                    http://dyomedea.com
http://xmlfr.org         http://4xt.org              http://ducotede.com
------------------------------------------------------------------------

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.