[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSchema Question 3: Internal/External subsets
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! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|