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

Re: Strategies for a lowly XML document


Re:  Strategies for a lowly XML document
I'm not convinced that using xsi:type does base the
processing model on W3C XML Schema's notion of types.
It simply makes use of the declaration of an element's
having a type of a given name.

If you can make the argument that W3C XML Schemas says
the type or its name *is* the the W3C Schema type definition,
I'll gladly change my position.

I was (perhaps mistakenly) approaching it as though W3C XML
Schemas says "Here's how you can assert that an element
is of a named type when that type name doesn't match the
element name."

And while W3C XML Schemas says "here's how you can use
type names to validate documents with W3C XML
Schemas", I don't think it claims ownership of either the
notion of types or the meaning of type names any more
than it claims ownership of element names.

Best,
Bill

Michael Brennan wrote:

>>From: Bill Lindsey [mailto:bill@b...]
>>
> 
> <snip/>
> 
>>I'd be particularly interested in hearing
>>
>>arguments that this approach:
>>
>>
>> * somehow subverts W3C Schemas or Namespaces
>>
>>  * requires W3C schema validation or PSVI processing
>>
>> * interferes with W3C schema validation or PSVI processing
>>
>>  * favors any particular schema language over others
>>
>> * is ugly
>>
> 
> How about this now bases a generalized processing model on XML Schema's
> notion of types -- something that has proven to be quite controversial, and
> has *not* proven itself to be a generalized-enough foundation for very
> general XML architectures. In fact, it has been proven that XML Schema types
> cannot adequately model all possible XML structures, so you've just
> constrained this approach to be restricted to only a subset of possible
> documents.
> 
> DOCTYPEs have their own problems, but they are already there in the
> foundation of XML, so we have to contend with them.
> 
> I have a big problem with basing this on XML Schema types.
> 
> 
> 



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.