jkesselm 2002/09/27 15:07:04
Added: java/src/org/apache/xml/dtm/dom2dtm2 Tag: xslt20
DOM2DTM2.java DOM2DTM2Base.java
DOM2DTM2Traversers.java NodeDTMIDResolver.java
NodeDTMIDResolverFactory.java
NodeDTMIDResolver_xerces.java
Log:
Highly experimental prototype of "thin" DOM2DTM2 --
rather than replicating the DOM's tree structure, we dynamically
map DOM nodes to their corresponding XPath nodes.
Should be much more space efficient, though getting equivalent
performance is going to be a challenge (this version isn't
highly optimized yet, and has definite performance issues, but
cleaning up the traversers/iterators ought to yield some gains.)
Should be most successful in applications that
only explore part of a document, since it does OUT OF SEQUENCE
incremental construction. Also hoped to have performance
advantages when repeatedly transforming the same DOM
document -- even, it is hoped, when the document has been
mutated between transformations.
Currently only works for Xerces DOM, though there's a plug-in adapter
mechanism which may be able to support other DOMs and/or
other approaches to handling this one. At this time, it's the
DTMManager's responsibility to recognize when DOM2DTM2
couldn't meet the need and get an old-style DOM2DTM instead;
we may want to encapsulate that fallback here instead.
See also DTMManagerDefault, which I'll be checking in as soon
as I've got a clean merge; if ATTEMPT_DOM2DTM2 there is
set false (as will be the default for the checked-in code), we will
continue to use "old faithful" DOM2DTM.
Revision Changes Path
No revision
No revision
1.1.2.1 +1957 -0
xml-xalan/java/src/org/apache/xml/dtm/dom2dtm2/Attic/DOM2DTM2.java
1.1.2.1 +2962 -0
xml-xalan/java/src/org/apache/xml/dtm/dom2dtm2/Attic/DOM2DTM2Base.java
1.1.2.1 +1645 -0
xml-xalan/java/src/org/apache/xml/dtm/dom2dtm2/Attic/DOM2DTM2Traversers.java
1.1.2.1 +90 -0
xml-xalan/java/src/org/apache/xml/dtm/dom2dtm2/Attic/NodeDTMIDResolver.java
1.1.2.1 +80 -0
xml-xalan/java/src/org/apache/xml/dtm/dom2dtm2/Attic/NodeDTMIDResolverFactory.java
1.1.2.1 +766 -0
xml-xalan/java/src/org/apache/xml/dtm/dom2dtm2/Attic/NodeDTMIDResolver_xerces.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]