The benchmark programs for measuring parsing performance compared VTD and DOM(with and without node expansion)
In the deferred node version of the DOM benchmark program the setExpandEntityReferences method was set to false. Does 'defer node expansion' mean not expanding the entity references in the document?
I couldn't find the exact definition/explanation for deffered node expansion(in terms of what nodes will/will not be expanded). Can you please elaborate on this?
Also, in case defering node expansion= not expanding entity references, what about the XML files that do not have any entity references? Does deferred DOM work only for XML files that have entity references?
Any inputs on this issue will be highly helpful.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
regardin setExpandEntityReference, this is a property offered by Xerces DOM, it doesn't really impact parsing performance much, defered node expansion is a technique by xerces to delay node allocation, I think you can get more info from Xerces-J's web site…
as far as I know, deferred DOM works for xml with entity references..
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The benchmark programs for measuring parsing performance compared VTD and DOM(with and without node expansion)
In the deferred node version of the DOM benchmark program the setExpandEntityReferences method was set to false. Does 'defer node expansion' mean not expanding the entity references in the document?
I couldn't find the exact definition/explanation for deffered node expansion(in terms of what nodes will/will not be expanded). Can you please elaborate on this?
Also, in case defering node expansion= not expanding entity references, what about the XML files that do not have any entity references? Does deferred DOM work only for XML files that have entity references?
Any inputs on this issue will be highly helpful.
regardin setExpandEntityReference, this is a property offered by Xerces DOM, it doesn't really impact parsing performance much, defered node expansion is a technique by xerces to delay node allocation, I think you can get more info from Xerces-J's web site…
as far as I know, deferred DOM works for xml with entity references..