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

RE: using more then one schema within one XML


schemalocation pair
Although XML processors are free to ignore all xsi:schemaLocation and
xsi:noNamespaceSchemaLocation attributes (because the application may wish
to force use of a particular Schema regardless of what the document states
[1]) it seems like merely a bug if a processor by rule reads only the first
pair.  

Here is an argument you can use with implementers of such processors,
without resorting to quoting the XML Schema recommendations: 
What is the outcome of xsi:schemaLocation with one namespace/schemaLocation
pair and xsi:noNamespaceSchemaLocation with one schemeLocation?  
Does it ignore one or the other, or apply both Schemas?  
If it ignores one, why?  
If it applies both, then why does it allow two Schemas for two different
namespaces, but not three?

Leigh.

[1] In a math class once, a wily fellow advised me to learn a proof by
heart.  If a test then required a proof and I couldn't do it, I was to write
down the memorized (different, but correct) proof.  The TA would then likely
only validate the correctness of the proof.  XML Schema avoids this problem
by now requiring that you believe the instance's internal Schema location
attributes.

-----Original Message-----
From: ian.graham@u... [mailto:ian.graham@u...] 
Sent: Thursday, November 04, 2004 1:45 PM
To: Alessandro Triglia
Cc: 'Chiusano Joseph'; 'pat'; 'XML :: dev'
Subject: RE:  using more then one schema within one XML

Quoting Alessandro Triglia <sandro@m...>:

I believe he's saying that an xsi:schemaLocation attribute can have 
the value

xsi:schemaLocation="ns1 schemalocation1 ns2 schemalocation2 ..."

but taht some processors only see the first pair, and  ignore 2, 3 ....

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.