|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: String interning (WAS: SAX2/Java: Towards a final form)
Miles Sabin <msabin@c...> writes:
> Not just a DOM. Quite a few people are sitting SAX on top of
> all sorts of data-structures which don't necessarily make any
> interning guarantees. And don't forget database queries.
With database queries you usually already know the names and you're
querying just for the contents:
select name, age from PersonalInfo where status = 'active'
and then
<person>
<name>Jane Smith</name>
<age>27</age>
</person>
I didn't get the "person", "name", or "age" strings out of the
database: they're hard-coded in my filter.
All the best,
David
--
David Megginson david@m...
http://www.megginson.com/
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/ or CD-ROM/ISBN 981-02-3594-1
Please note: New list subscriptions now closed in preparation for transfer to OASIS.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








