[prev in list] [next in list] [prev in thread] [next in thread]
List: batik-dev
Subject: cvs commit: xml-batik/sources/org/apache/batik/bridge SVGPathElementBridge.java SVGPolygonElementBri
From: tkormann () apache ! org
Date: 2002-09-05 6:47:50
[Download RAW message or body]
tkormann 2002/09/04 23:47:50
Modified: sources/org/apache/batik/bridge SVGPathElementBridge.java
SVGPolygonElementBridge.java
SVGPolylineElementBridge.java
Added: samples/tests/spec/shapes emptyShape.svg
Log:
fix bug #10122
'd', and 'points' attributes can now be empty on <path>, <polyline>
and <polygon>.
Revision Changes Path
1.1 xml-batik/samples/tests/spec/shapes/emptyShape.svg
Index: emptyShape.svg
===================================================================
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<!-- ========================================================================= -->
<!-- Copyright (C) The Apache Software Foundation. All rights reserved. -->
<!-- -->
<!-- This software is published under the terms of the Apache Software License -->
<!-- version 1.1, a copy of which has been included with this distribution in -->
<!-- the LICENSE file. -->
<!-- ========================================================================= -->
<!-- ========================================================================= -->
<!-- Test 'visibility' property inheritance -->
<!-- -->
<!-- @author tkormann@apache.org -->
<!-- @version $Id: emptyShape.svg,v 1.1 2002/09/05 06:47:50 tkormann Exp $ -->
<!-- ========================================================================= -->
<?xml-stylesheet type="text/css" href="../../resources/style/test.css" ?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
id="body" width="450" height="500" viewBox="0 0 450 500">
<title>Empty 'd', 'points' on <path>, <polyline> and <polygon></title>
<!-- ============================================================= -->
<!-- Test content -->
<!-- ============================================================= -->
<g id="testContent">
<text x="225" y="30" class="title">
Empty 'd', 'points' on <path>, <polyline> and <polygon></text>
<path d="" />
<polyline points="" />
<polygon points="" />
</g>
</svg>
1.14 +1 -4 xml-batik/sources/org/apache/batik/bridge/SVGPathElementBridge.java
Index: SVGPathElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGPathElementBridge.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- SVGPathElementBridge.java 14 May 2002 16:40:02 -0000 1.13
+++ SVGPathElementBridge.java 5 Sep 2002 06:47:50 -0000 1.14
@@ -76,9 +76,6 @@
} finally {
shapeNode.setShape(app.getShape());
}
- } else {
- throw new BridgeException(e, ERR_ATTRIBUTE_MISSING,
- new Object[] {SVG_D_ATTRIBUTE});
}
}
1.15 +1 -4 xml-batik/sources/org/apache/batik/bridge/SVGPolygonElementBridge.java
Index: SVGPolygonElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGPolygonElementBridge.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- SVGPolygonElementBridge.java 14 May 2002 16:40:02 -0000 1.14
+++ SVGPolygonElementBridge.java 5 Sep 2002 06:47:50 -0000 1.15
@@ -75,9 +75,6 @@
} finally {
shapeNode.setShape(app.getShape());
}
- } else {
- throw new BridgeException(e, ERR_ATTRIBUTE_MISSING,
- new Object[] {SVG_POINTS_ATTRIBUTE});
}
}
1.14 +1 -4 xml-batik/sources/org/apache/batik/bridge/SVGPolylineElementBridge.java
Index: SVGPolylineElementBridge.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/bridge/SVGPolylineElementBridge.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- SVGPolylineElementBridge.java 14 May 2002 16:40:02 -0000 1.13
+++ SVGPolylineElementBridge.java 5 Sep 2002 06:47:50 -0000 1.14
@@ -75,9 +75,6 @@
} finally {
shapeNode.setShape(app.getShape());
}
- } else {
- throw new BridgeException(e, ERR_ATTRIBUTE_MISSING,
- new Object[] {SVG_POINTS_ATTRIBUTE});
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic