[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 multipleentities

Re:  An approach to let XML 2.n resources hold multipleentities
Rick Jelliffe wrote:
> From: "Paul Prescod" <paul@p...>
>>[1]    document    ::=    prolog (element Misc*)*
> 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.)

To me, there are two separate issues. You asked how to have multiple 
top-level elements. That's easy. It was always an arbitrary and probably 
harmful limitation to restrict it to one in the first place. (somehow we 
got it in our heads that trees were somehow more beautiful than forests)

On the other hand, there is the never-ending, never-resolved issue of 
how to handle packaging of multiple entities nicely. I'm reluctant to 
touch that one because there are too many half-solutions out there 
already. I'm especially reluctant to tie a hard-to-solve problem to an 
easy-to-solve one.

> 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).

I'm not following you. I presume this attribute has something to do with 
your solution because I don't see it as solving something in mine.

  Paul Prescod


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.