[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
> Two types of partial validation that would be useful for constructing 
> compound documents are:
> 
> 1) Validate the language you know and ignore fragments headed by unknown 
> elements.
> 
> 2) Start at the top and only start validating when you hit an element 
> you know. (The opposite of #1.)
> 
> I suspect that, with a bit of thought, people can find other use cases 
> and types of validation to fit them that are not met by current 
> definitions.

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.

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.

Cheers,
Jeff Rafter

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.