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

Re: SAX: ignorable whitespace question

  • From: Peter Murray-Rust <peter@u...>
  • To: DML Development List <xml-dev@i...>
  • Date: Sun, 02 Aug 1998 10:03:23

xml ignorable whitespace
At 01:08 02/08/98 -0400, Eric Prud'hommeaux wrote:
>Should "abcd#20$20efgh" be reported as:
>  characters("abcd#20#20efgh")
>  characters("abcd#20efgh")
>  characters("abcd") ignorableWhitespace(#20#20) characters("efgh")
>  characters("abcd") ignorableWhitespace(#20) characters("efgh")

I suspect that your question isn't sufficiently clearly phrased for a clear
answer.  SAX needs to be read in conjunction with the XML RECommendation.
The concept of ignorable whitespace depends on what DTD information is
provided.
>
>Also, is there a more appropriate forum for this sort of question?

 XML-DEV (not DML) is where most people who are interested in SAX will look
to discuss it at present. As SAX becomes more integrated into XML tools
then there may well be introductory tutorials on how to use SAX and what
SAX does and does not do. In the present case I suspect you should (a) read
the SAX documentation carefully (b) write some simple test code to find out
exactly what some common SAX implementations *do*. Create some test
documents with and without DTDs and feed them to SAX running under your
test code. If you then find the results appear to violate the
documentation, or vary between implementations, I am sure people would be
interested and make useful comments.

	P.


Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg

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.