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

Re: Still banging on about extensibility and validation


Re:  Still banging on about extensibility and validation
>
> I think ISO/IEC 19757-4 NVDL is the mechanism by which we can safely
> look at XML instances using the view that sets of labeled information
> found in a single instance *each have their own model* ... those sets
> identified unambiguously through the use of namespace-rich
> labels.  This is not achievable with the traditional view that the
> entire instance *has a single model* that is sacrosanct.  The real
> world does not accommodate this traditional view well when trying to
> accommodate different users' needs.

I'm actually having some problems with NVDL, because I was having a
hard time reading in the available documentation how one would handle
specific common situations. These are:

1. Namespace qualified attributes on an element of another element.
I really can't think of any way one could handle that in a reasonable
manner, and I suspect that in most scenarios this would be one
namespace extending another, not a mix of two data sets. But I don't
this for a fact, just a suspicion.

2. propogation of text nodes up from elements in namespace y to
elements in namespace x, example:

<x:x>
<y:y>text node</y:y>
</x:x>

in this scenario y:y is extending x:x, and conceptually we assume that
they share the text node. so when split they should be

<x:x>text node</x:x>
and <y:y>text node</y:y>

I think this is a reasonably common usage but I'm not sure if NVDL
handles it.  I suppose the argument could be made that this is an
extremely dangerous and dirty usage, and we would not want to automate
that kind of splitting of data.

Cheers,
Bryan Rasmussen

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.