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

Re: Compound Documents? RE: Announcement of theNVDL


Re:  Compound Documents? RE:  Announcement of theNVDL
Jeff Rafter wrote:
> I think that there is a middle ground-- or more importantly, that item 
> (2) can be used in conjunction with item (1). Instead of considering 
> single languages within a single validation why not consider multiples? 
> Then as the validator proceeds it will switch between the languages it 
> knows (most likely based on namespace). This way it can switch 
> validation modes internally as it encounters languages.

Agreed.

> Currently the only way that this is possible is by having a bunch of 
> <any> elements in XML Schema. I wonder if there will be a grammar that 
> allows you to define a compound document on top of a (name your 
> favorite) schema. So you could override a <p> (or flow.mix) and say that 
> it allows <any> element from MathML.

This is one possibility. It gives more control over the shape of the 
document and could easily be built on top of XML Schemas -- just say 
where an <xs:any> element is allowed without having to modify the 
underlying (possibly standard) schema.

The other possibility is to rewrite validators / redefine validation so 
that you don't have to define the overall shape of the document. 
Instead, the shapes of each fragment are defined by a schema and the 
validator validates each fragment, regardless of where it occurs. This 
allows lots more flexibility.

In addition to validating compound documents constructed from an 
arbitrary set of schemas, it would be useful when you're interested in 
only a subset of a document and don't care about anything except that 
subset.

-- Ron



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-2007 All Rights Reserved.