Improved xml scanner for this bug
[phpeclipse.git] / net.sourceforge.phpeclipse.xml.ui / src / net / sourceforge / phpeclipse / xml / ui / internal / text / XMLPartitionScanner.java
index 1064ca3..c74cc32 100644 (file)
@@ -8,7 +8,7 @@
  * Contributors:
  *     Igor Malinin - initial contribution
  *
- * $Id: XMLPartitionScanner.java,v 1.2 2005-05-15 23:09:09 axelcl Exp $
+ * $Id: XMLPartitionScanner.java,v 1.3 2005-05-15 23:23:02 axelcl Exp $
  */
 
 package net.sourceforge.phpeclipse.xml.ui.internal.text;
@@ -101,9 +101,7 @@ public class XMLPartitionScanner implements IPartitionTokenScanner {
                                                return getToken(XML_TAG);
 
                                        case '?': // <?  <?PI 
-                                           unread();
-                                           break;
-//                                             return nextPIToken(); 
+                                               return nextPIToken(); 
 
                                        case '!': // <!  <!DEFINITION or <![CDATA[ or <!--COMMENT
                                                switch (read()) {