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

Re: What Is Type Augmentation and Should We Be Concerned?(WAS


type augmentation
[Bullard, Claude L (Len)]

> And it leads back to the question:  can a PSVI or TAI/ATI
> be reduced to a transform?   Reading the www-tag discussions,
> it seems that XML may become even more complicated and
> less flexible.   Type augmentation seems to be an application
> concern, not an XML Infoset concern.  The only way I know to
> keep those distinct is to regard augmentation as transformation.
>

For a given xml document, there are many schemas that could fit it.  Among
many possible choices with xml schema, you can choose to use global elements
vs complex types, just as one example.

Therefore, there is no complex type that uniquely characterizes an element.
Perhaps the same is true of simple types (except for basic strings), since
you can always find other patterns or restrictions that would produce the
same result.

If this is the case, then it seems to me that type information, and
especially complex type information, cannot be said to be a property of the
document or element in itself.  Instead, it is a joint matter between the
document and the schema.  If such type information is forced into the
document  representation, it could greatly reduce the inherent flexibility
of an xml document to be processed different ways for different purposes.

It seems to be, then, that type decoration should remain separate from basic
infoset information, which should characterize or model the document based
on its inherent construction.

This is another reason - add it to the others - to strive to keep PSVI
separate from the basic infoset of a document.

Comments, suggestions?

Cheers,

Tom P


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.