I got the following error when using Batik to read in one SVG file that I
exported from Corel 10:
Exception in thread "main" org.w3c.dom.DOMException: An error occurred in an
author stylesheet:
The following text represents an invalid CSS document:
@font-face { font-family:"FontID7";src:url("#FontID7") format(svg)}
@font-face { font-family:"FontID6";src:url("#FontID6") format(svg)}
@font-face { font-family:"FontID2";src:url("#FontID2") format(svg)}
@font-face { font-family:"FontID1";src:url("#FontID1") format(svg)}
@font-face { font-family:"FontID0";src:url("#FontID0") format(svg)}
.str2 {stroke:#005E97;stroke-width:3}
.str0 {stroke:#FFFFFF;stroke-width:39}
.str1 {stroke:#005E97;stroke-width:111}
.fil8 {fill:none}
.fil7 {fill:#0093DD}
.fil9 {fill:#0C0C0E}
.fil2 {fill:#1F1A17}
.fil1 {fill:#75C5F0}
.fil3 {fill:#DA251D}
.fil10 {fill:#F8C400}
.fil6 {fill:#FFFFFF}
.fil0 {fill:#005E97}
.fil5 {fill:#E9831B}
.fil4 {fill:#FFFFFF}
.fnt9 {font-weight:bold;font-size:97;font-family:FontID8 Arial}
.fnt7 {font-weight:normal;font-size:111;font-family:FontID6 Arial}
.fnt8 {font-weight:normal;font-size:111;font-family:FontID7 Tahoma}
.fnt6 {font-weight:bold;font-size:111;font-family:FontID6 Arial}
.fnt2 {font-weight:normal;font-size:139;font-family:FontID2 'Humanst521
Lt BT'}
.fnt4 {font-weight:normal;font-size:139;font-family:FontID4 'Humanst521
Lt BT'}
.fnt1 {font-weight:normal;font-size:139;font-family:FontID1 'Humanst521
XBd BT'}
.fnt3 {font-weight:normal;font-size:139;font-family:FontID3 'Humanst521
XBd BT'}
.fnt5 {font-weight:normal;font-size:966;font-family:FontID5
'HandelGothic BT'}
.fnt0 {font-weight:normal;font-size:1330;font-family:FontID0
'HandelGothic BT'}
Does this stylesheet use some not-supported-by-batik features of SVG spec?
Batik version: 1.1
JVM version: Java HotSpot(TM) Client VM (build 1.3.1-b24, mixed mode)
OS: W2K
Rgds,
Neeme
PS. You can find the full SVG file here:
http://www.hot.ee/nemecec/oleht143x188varv2.zip
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]