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

Re: XML processing experiments

  • From: Richard Tobin <richard@c...>
  • To: Jarle Stabell <jarle.stabell@d...>, xml-dev@i...
  • Date: Fri, 7 Nov 1997 16:48:16 GMT

physical experiments xml format
> >(suppose foo is defined as "a<b/>c";
> >then the first bit returned from "x&foo;y" is "xa" - as far as I can
> >tell this is quite legal XML).

> I don't think this is legal. The working draft (sec. 4.1) says:
> "The logical and physical structures (elements and entities) in an XML
> document must be synchronous. Tags and elements must each begin and end in
> the same entity, but may refer to other entities internally; comments,
> processing instructions, character references, and entity references must
> each be contained entirely within a single entity"

I don't see how that excludes my example.  The tags and elements *do*
begin and end in the same entity.  There are no comments, PIs, or
character references.  The entity reference is contained within a
single entity.

The point is that the draft says nothing about about *pcdata* starting
and ending in the same entity.  If it did, it would have to be careful
to define exactly what it meant by "ending", since in something like
"<!ENTITY name 'richard'> ... <p>my name is &name;</p>" (which we
certainly want to be legal) the last character of the pcdata is in a
different entity from the first.

-- Richard

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.