From 3bf3d296bacb614cc6d1dfb28a71f9444f0c5416 Mon Sep 17 00:00:00 2001 From: kares Date: Sun, 12 Feb 2017 13:26:11 +0100 Subject: [PATCH] DOM2DTM adapt xalan skipping text nodes (to handle #1320) `RuntimeException: Could not resolve the node to a handle` --- ext/java/org/apache/xml/dtm/ref/dom2dtm/DOM2DTMExt.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/java/org/apache/xml/dtm/ref/dom2dtm/DOM2DTMExt.java b/ext/java/org/apache/xml/dtm/ref/dom2dtm/DOM2DTMExt.java index 5af23241d01..a45bf8c69d2 100644 --- a/ext/java/org/apache/xml/dtm/ref/dom2dtm/DOM2DTMExt.java +++ b/ext/java/org/apache/xml/dtm/ref/dom2dtm/DOM2DTMExt.java @@ -586,7 +586,7 @@ else if(PROCESSING_INSTRUCTION_NODE==nexttype) { // %TBD% If nexttype was forced to TEXT, patch the DTM node - next=lastTextNode; // Advance the DOM cursor over contiguous text + //next=lastTextNode; // Advance the DOM cursor over contiguous text } // Remember where we left off.