* Contributors:
* Igor Malinin - initial contribution
*
- * $Id: PHPXMLPartitionScanner.java,v 1.1 2005-05-15 23:23:02 axelcl Exp $
+ * $Id: PHPXMLPartitionScanner.java,v 1.2 2006-01-15 12:24:16 bananeweizen Exp $
*/
package net.sourceforge.phpeclipse.xml.ui.internal.text;
/**
- *
- *
+ *
+ *
* @author Igor Malinin
*/
public class PHPXMLPartitionScanner implements IPartitionTokenScanner {
state = STATE_DEFAULT;
return getToken(XML_TAG);
- case '?': // <? <?PI
+ case '?': // <? <?PI
unread();
break;
-// return nextPIToken();
+// return nextPIToken();
case '!': // <! <!DEFINITION or <![CDATA[ or <!--COMMENT
switch (read()) {
}
unread();
- break loop;
+ continue loop;
}
}
}
* Contributors:
* Igor Malinin - initial contribution
*
- * $Id: XMLPartitionScanner.java,v 1.3 2005-05-15 23:23:02 axelcl Exp $
+ * $Id: XMLPartitionScanner.java,v 1.4 2006-01-15 12:24:16 bananeweizen Exp $
*/
package net.sourceforge.phpeclipse.xml.ui.internal.text;
/**
- *
- *
+ *
+ *
* @author Igor Malinin
*/
public class XMLPartitionScanner implements IPartitionTokenScanner {
state = STATE_DEFAULT;
return getToken(XML_TAG);
- case '?': // <? <?PI
- return nextPIToken();
+ case '?': // <? <?PI
+ return nextPIToken();
case '!': // <! <!DEFINITION or <![CDATA[ or <!--COMMENT
switch (read()) {
}
unread();
- break loop;
+ continue loop;
}
}
}