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

Re: Possible changes for XML 2nd Edition

  • From: "David Brownell" <david-b@p...>
  • To: "Steve DeRose" <Steven_DeRose@b...>, <xml-editor@w...>, <xml-dev@x...>
  • Date: Fri, 26 May 2000 12:16:04 +0100

monstrous compendium
> I do not see any reason to rule out fragment identifiers in system
identifiers.
> There are lots of potential uses for them. Consider:

Compatibility is such a reason.  Removing that contraint would
create a non-interoperable class of "XML 1.0" (not!) documents:


> * Grabbing a piece of an XML document to embed in another (a whole object
> that is text/xml or application/xml, cannot generally be referenced as a
> non-NDATA entity (since it includes the DOCTYPE, at least if it's valid).

Making XML 1.0 dependent on something analagous to XPath, which
creates a circular dependency (yeech).


> * A URI could point to a zip or tar archive, and the fragment identifier
> may specify a particular XMl file out of the archive.

Having that level of intelligence about URI processing seems better
suited to something like XInclude.


> * A URI could point to a big XML document that serves only to collect a
lot
> of modular fragments for re-use: such as the tables of FAA-mandated
warning
> text used in aircraft manuals.

Or, each warning could have a unique URI.  Makes it a lot easier to
maintain the warnings, under many development models, as well as to
process them (just read one little file, not a monstrous compendium).


> * system identifiers can be used for lots of other things, like DTDs
(later
> presumably schemas), and data in all kinds of notations.

XML 1.0 doesn't address schemas, they're out of scope.

I could see notations having fragment IDs though, since they're
never interpreted directly by the XML processor (application issue).


> What motivation could there be for absolutely prohibiting fragment
> identifiers?

More to the point, what motivation _was_ there?  I think simplicity
(for external entities) is a big win.

At this point, removing this constraint seems to me quite unwise.


>    It seems to me it's none of XML's business what the syntax of
> URI references is, or whether fragment identifiers are needed. What of a
> media type which defines the fragment identifier (they are media type
> specific, after all) in such a way that it ends up being *required* for
> proper interpretation

None of the text/xml or application/xml media types is so defined.
So that argument doesn't work with SYSTEM identifiers used for external
entities.

- Dave




***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

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.