[
Lists Home |
Date Index |
Thread Index
]
- From: Stefan Haustein <stefan.haustein@trantor.de>
- To: "xml-dev@ic.ac.uk" <xml-dev@ic.ac.uk>
- Date: Sat, 22 Jan 2000 15:12:41 +0100
Hello!
I am not sure if I missed the final conclusion of the SAX2 interning
question in the flood of the browser wars messages. As far as I
remember, some people were arguing against interning that it might be a
huge overherad for filters, already getting string objects from their
source. If there has been no consensus yet, I would like to suggest
that:
1. no parser is forced to intern elment name / element prefix strings
2. a SAX2 parser can be queried if it does string interning
3. all parsers intern namespaceURIs to avoid the null.equals (...)
problem. Namespace interning
should be cheap since an XML document normally does not contain tons
of Namespace declarations
and should also pay off quickly since namespace URI tend to be long
strings.
Best regards
Stefan Haustein
--
SAX-based access to WBXML and WML: www.trantor.de/wbxml
XML pull parser: www.trantor.de/xml
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/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom@ic.ac.uk the message
unsubscribe xml-dev (or)
unsubscribe xml-dev your-subscribed-email@your-subscribed-address
Please note: New list subscriptions now closed in preparation for transfer to OASIS.
|