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

RE: xmlns empty string

  • From: noah_mendelsohn@u...
  • To: "Michael Kay" <mike@s...>
  • Date: Wed, 20 Dec 2006 19:02:32 -0500

RE:  xmlns empty string
Michael Kay writes:

> This is one of those horrible cases where the spec explicitly says that
> xs:include operates on schema components, and then says that 
> its treatment
> of the schema components depends on something ("whose code was 
> qualified")
> that (as far as I can see) isn't a property of the schema component, but
> part of the syntax of the schema document from which the component was
> derived.

Agreed. 

> (What is "code" anyway? I suspect it's a misprint for "form".)

I noticed that too.  Not sure what was intended (though I worked on some 
of the general framework for composition, the particular details of 
include and chameleon processing were not areas I was deep into as the 
spec was being drafted).

> In fact I think this is a red herring. I think the chameleon 
> include affects
> all nested element declarations whose {target namespace} is .absent.,
> regardless of the reason why it is .absent..

Should be that way, I think, but I noticed the ambiguity as I was 
responding to your earlier note.  I openned a bug in bugzilla suggesting 
it work that way.  I think one also needs to be careful about the case 
where a user includes from multiple schema documents with multiple 
targetNamespaces the head document in a chain of chameleons.  I'm guessing 
you want multiple sets of components, one for each of the 
targetNamespaces. Whether users should ever try such a thing is a 
different question.  I have my doubts that chameleon should ever have been 
provided in the first place, but given that it's there, we need good 
symmetric rules for how it can be used.

Wondering whether any further discussion of this should be moved to the 
schema-dev list?  I think we're well over the line where an ordinary 
mortal interested in XML would be getting a bad headache.

--------------------------------------
Noah Mendelsohn 
IBM Corporation
One Rogers Street
Cambridge, MA 02142
1-617-693-4036
--------------------------------------






[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.