Different query results with XercesParserLiason::createDocument
---------------------------------------------------------------

         Key: XALANC-549
         URL: http://issues.apache.org/jira/browse/XALANC-549
     Project: XalanC
        Type: Bug
  Components: XalanC  
    Versions: 1.9    
 Environment: Windows XP SP2, Visual Studio 7.1
    Reporter: Martin Boucher


I'm wrapping a Xerces DOM to a Xalan DOM to be able to use 
XPathEvaluator::selectNodeList.

If I wrap the DOM with :

XalanDocument* pXalanDOM = xercesParserLiaison.createDocument( xercesDOM, 
false, true, true );

and then with (to be quicker) :

XalanDocument* pXalanDOM = xercesParserLiaison.createDocument( xercesDOM, 
false, false, false );

Doing the query "//*" (for unit testing purpose) with the evaluator give me the 
correct elements list but with different order.

When using "false, true, true", the elements in the list are in the order of my 
XML Document. This is the order I expect.
When using "false, false, false", a parent node element is placed after its 
child.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to