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

Re: ten years later, time to repeat it?

  • From: David Carver <d_a_carver@y...>
  • To: noah_mendelsohn@u...
  • Date: Thu, 21 Feb 2008 11:40:29 -0500

Re:  ten years later
noah_mendelsohn@u... wrote:
> David Carver writes:
>
>   
>> Personally, I HATE xsi:type. In most B2B scenarios I've been involved 
>> with it causes more interoperability issues then it solves.
>>     
> If you're arguing against xsi:type, I can certainly understand that.  It's 
> the wrong thing in >90% of use cases (probably way more, but I'm just 
> guessing and trying to be conservative), and it makes a mess of instance 
> documents.  It was introduced because some members of the Schema WG were 
>   
This is what I was saying, xsi:type causes more issues than it solves.


>
> Personally, I'm not convinced that supporting that scenario should have 
> made an 80/20 cut for schema, but as happens on a big committee, some 
> people argued very strongly for it.  You can, of course, turn it off by 
> using suitable "block" attributes at the right points in your schema. 
> While that pretty much ensures that your instances are clean (I think 
> xsi:type is still allowed for better or worse, but it can't then designate 
> a type other than the one your element would have had anyway, as I 
> recall), but it's a nuissance in the schema.
>   
Unfortunately, the block attributes are implemented and supported 
differently amongst the current validating parsers. Some say xsi:type 
isn't allowed at all (my personal preference) and some allow it as long 
as it's the correct type.





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.