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

RE: Is whitespace within general entities ignorable?

  • From: Michael Rys <mrys@m...>
  • To: Tim Bray <tbray@t...>, "Christopher R. Maden" <crism@m...>,xml-dev@l...
  • Date: Wed, 28 Feb 2001 11:19:01 -0800

RE: Is whitespace within general entities ignorable?
MSXML 3.0 will parse it and generate <test/>.

Best regards
Michael

> -----Original Message-----
> From: Tim Bray [mailto:tbray@t...]
> Sent: Wednesday, February 28, 2001 9:59 AM
> To: Christopher R. Maden; xml-dev@l...
> Subject: Re: Is whitespace within general entities ignorable?
> 
> 
> At 09:20 PM 27/02/01 -0800, Christopher R. Maden wrote:
> >><!DOCTYPE test [
> >><!ELEMENT test (child)*>
> >><!ENTITY entws "   ">
> >>]>
> >><test> &entws; </test>
> >
> >I believe your example is legal, to contradict John Cowan.
> 
> In my experience, John Cowan is one of those People Who Is
> Usually Right.  I must say though, that I'm having trouble
> agreeing with him on this one.  John, did this get covered
> in one of the errata?  I know the empty CDATA section thing
> did, but I don't recall this, and I have trouble thinking
> of anything in XML 1.0 that rules this out.
> 
> Reason is, I can actually see this being useful in 
> certain circumstances, in publishing contexts, where you
> have a between-siblings entity that could be redefined to
> be whitespace (or not) depending on some other stuff in
> the internal subset, and depending on the declarations in
> effect, be legal in a variety of different ways.
> 
> What does actual real-world software do with this?
> 
>  -Tim
> 
> 
> ------------------------------------------------------------------
> The xml-dev list is sponsored by XML.org, an initiative of OASIS
> <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To unsubscribe from this elist send a message with the single word
> "unsubscribe" in the body to: xml-dev-request@l...
> 

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.