OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX: ignorable whitespace question

[ Lists Home | Date Index | Thread Index ]
  • From: Peter Murray-Rust <peter@ursus.demon.co.uk>
  • To: DML Development List <xml-dev@ic.ac.uk>
  • Date: Sun, 02 Aug 1998 10:03:23

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@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS