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

Re: XSchema Question 3: Internal/External subsets

  • From: Peter Murray-Rust <peter@u...>
  • To: xml-dev@i...
  • Date: Wed, 03 Jun 1998 19:11:22

javascript internal external
At 08:54 03/06/98 -0400, Paul Prescod wrote:
>Peter Murray-Rust wrote:
>> 
>> My understanding is slightly different. The ns= is used to formalise the
>> uniqueness and the 'ownership' of the namespace, e.g. xml.org.cml might
>> create a global identifier for CML. The src= field does not necessarily
>> have to point to the same document globally. 
>
>I'm not sure what you mean here. A particular namespace declaration will
>have zero or one srcdef, no matter where on the web it is accessed from.
>Rick's point is that it should allow zero or more.

I agree that a particular document can only have 0/1 srcDefs. However what
I meant was that two documents using the same namespacename (ns=) might
have different SrcDefs. In a trivial case this might be that one was a
mirror of the other (e.g. behind a firewall). However it also seemed
possible that there were functionally equivalent schemas (or perhaps even
non-equivalent ones) that different documents could choose. One reason - as
I hinted might be that the schema had to reference functionality expressed
in a computer language and that people might wish to use different languages.

Thus sites forbid Java but allow JavaScript (I make no comment on this
policy). I can see that site 1 might use:
<?xml:namespace ns="http://foo.com" prefix="F" src="http://foo.com/java/lib"?>
while the other one might use
<?xml:namespace ns="http://foo.com" prefix="FOO"
src="file:/usr/local/foo/com/javascript"?>

This may also be constrained by the availability of various packages. For
example, if you get a certain type of functionality in a file (e.g. a
mathematical formula) you may not have a choice about your symbolic algebra
package. This will also be true of chemistry. There will be a grey area
between schemas and stylesheets, especially if processing is required.

	P.

Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.