XML-schema aware parsers

Mark Grossmann

Usenet Archive
Joined
Dec 17, 2004
Messages
1
Reaction score
0
I am really new to XML parsers. AFAIK most (DOM) XML parsers use XML schemas only for validation. Are there parsers that use XML schema to optimize in-memory representation of XML-trees?

For example I have a zillion of small XML documents loaded in memory (for fast access), all instances of the same XML-schema. Optimally the structural information of corresponding XML-trees should not be replicated zillion times.

Thanks,
-- Mark
 

Martin Honnen

Usenet Archive
Joined
Apr 8, 2000
Messages
6,174
Reaction score
0
Mark said:
I am really new to XML parsers. AFAIK most (DOM) XML parsers use XML schemas only for validation. Are there parsers that use XML schema to optimize in-memory representation of XML-trees?

For example I have a zillion of small XML documents loaded in memory (for fast access), all instances of the same XML-schema. Optimally the structural information of corresponding XML-trees should not be replicated zillion times.

I do not implement parsers, I only use them but as far as the W3C DOM Level 2 goes there is no schema related information in that object model. And at least for the Java binding the W3C DOM is only modelled by interfaces so you can't tell what structure is below implementing those interfaces.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
548,208
Messages
3,104,798
Members
249,594
Latest member
henrywalsh

Latest Threads

Top