Menu

deferred dom ximpleware benchmark program

2010-02-07
2013-05-15
  • Venkata Pavan Kumar Vemuri

        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.

     
  • jimmy zhang

    jimmy zhang - 2010-02-09

    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..

     

Log in to post a comment.