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

Re: limits of the generic


Re:  limits of the generic
On Sat, 2002-09-28 at 00:11, John Cowan wrote:
> Simon St.Laurent scripsit:
> 
> > See, for instance, the "data versus text" section at the end of:
> > http://books.xmlschemata.org/relaxng/RngBookTextPatterns.html
> > 
> > That feels to me like an overstep.
> 
> Ah, I see.  But the restrictions on the use of datatypes in mixed content
> are primarily for the benefit of validator implementers.  It's much easier
> if you can define datatypes with a separate module that gets all the
> available content and then either matches or doesn't, deterministically.

Sorry, I cant't buy this argument :-) !

The datatypes libraries are implemented as independent modules, and they
are so independent that they act on text nodes independently of the
content model (mixed, simple or even -in the case of Relax NG which kind
of extends the notion of text nodes- attributes or lists of tokens).

Having implemented most of the Relax NG specification in my xvif[1]
implementation, I can tell you that "data" patterns in mixed content are
"natively" supported by the derivative method described by James Clark
and that ruling them out would add a significant amount of non trivial
code (which I haven't implemented yet since this is not my priority of
the moment)...

[1] http://downloads.xmlschemata.org/python/xvif/

Eric
-- 
Rendez-vous à Paris.
                          http://www.technoforum.fr/integ2002/index.html
------------------------------------------------------------------------
Eric van der Vlist       http://xmlfr.org            http://dyomedea.com
(W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema
------------------------------------------------------------------------


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.