summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2007-05-11 15:53:39 (EDT)
committerpelder2007-05-11 15:53:39 (EDT)
commit5bf4bce6937837c9687a6a94e853455954b4d9be (patch)
treebdc826a098836dd06fa194d0d2ea9ac7ffc2365a
parentcade5efdc011a713c6489870662ee4d48f98f9b4 (diff)
downloadorg.eclipse.jet-5bf4bce6937837c9687a6a94e853455954b4d9be.zip
org.eclipse.jet-5bf4bce6937837c9687a6a94e853455954b4d9be.tar.gz
org.eclipse.jet-5bf4bce6937837c9687a6a94e853455954b4d9be.tar.bz2
[172691] XPath expression /* matches processing instructions when used with EMF 2.3
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EObjectInspector.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EObjectInspector.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EObjectInspector.java
index ef09fcf..659686e 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EObjectInspector.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EObjectInspector.java
@@ -329,7 +329,7 @@ public class EObjectInspector implements IElementInspector, INodeInspectorExtens
// of EMF 2.3 includes extra types (ProcessingInstruction), which for compatibility,
// the code cannot explicitly reference.
// For these special kinds,
- if ("ProcessingInstruction".equals(eClassName)) //$NON-NLS-1$
+ if ("processingInstruction_._type".equals(eClassName)) //$NON-NLS-1$
{
return NodeKind.PROCESSING_INSTRUCTION;
}