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

RE: An approach to let XML 2.n resources hold multiple entitie

  • To: 'Rick Jelliffe' <ricko@a...>, xml-dev@l...
  • Subject: RE: An approach to let XML 2.n resources hold multiple entities
  • From: Micah Dubinko <MDubinko@c...>
  • Date: Thu, 20 Mar 2003 09:03:19 -0800


In addition to this discussion, another thing I'm interested in seeing
proposals on is ways to better nest XML, as in SVG embedded in XHTML,
instance data in XForms, etc. (including how to deal with entities and ID).

One partial solution I've considered is a "Doctype instruction". Instead
this allowed only in the prolog:

<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

You'd have this, allowed anywhere where there's a transition between
different "Doctypes":

<?DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

Since there are multiple versions of some vocabularies that can't be
distinguished by the namespace, only by the DOCTYPE, something like this
would help processors figure out what to do.

The PI syntax isn't a requirement, just something to possibly smooth over
the transition.


-----Original Message-----
From: Rick Jelliffe [mailto:ricko@a...]
Sent: Thursday, March 20, 2003 9:50 AM
To: xml-dev@l...
Subject: Re:  An approach to let XML 2.n resources hold
multiple entities

From: "Paul Prescod" <paul@p...>

> Here's a simpler proposal. Take this:
> [1]    document    ::=    prolog element Misc*
> And make it:
> [1]    document    ::=    prolog (element Misc*)*
> This is not straightforwardly SGML compatible, but I think it is 
> significantly easier these days to change SGML than it is to change XML. 

Nice. But I don't think that it does the same thing: my proposal provides
an alternate syntax for internal entities which also allows bundled 
other documents.  (Thinking about it more, it suggests that it might fill
some nice needs if the entity mechanism was rejigged to allow appendable
entities rather than having them in a prolog.)

I think you would need to have some top-level attribute available to
say "this branch does not form part of the infoset" so that it can
be referenced from an XInclude without appearing in the document
twice (assuming we will perform some kind of XInclude linking early).

Rick Jelliffe

The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>


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.
First Name
Last Name
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.