You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by hi...@apache.org on 2002/06/04 15:50:12 UTC
cvs commit: xml-batik/sources/org/apache/batik/parser LengthParser.java
hillion 2002/06/04 06:50:12
Modified: sources/org/apache/batik/parser LengthParser.java
Log:
Modification for the SVG validator, part 2.
Revision Changes Path
1.9 +1 -6 xml-batik/sources/org/apache/batik/parser/LengthParser.java
Index: LengthParser.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/parser/LengthParser.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- LengthParser.java 4 Apr 2002 12:04:05 -0000 1.8
+++ LengthParser.java 4 Jun 2002 13:50:12 -0000 1.9
@@ -16,7 +16,7 @@
* values.
*
* @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
- * @version $Id: LengthParser.java,v 1.8 2002/04/04 12:04:05 hillion Exp $
+ * @version $Id: LengthParser.java,v 1.9 2002/06/04 13:50:12 hillion Exp $
*/
public class LengthParser extends AbstractParser {
@@ -280,8 +280,6 @@
}
switch (current) {
- case -1: case 0xD: case 0xA: case 0x20: case 0x9:
- return;
case 'e':
current = reader.read();
switch (current) {
@@ -357,9 +355,6 @@
lengthHandler.percentage();
current = reader.read();
break;
- default:
- reportError("character.unexpected",
- new Object[] { new Integer(current) });
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org