JSwiff
flash movies the java way
JSwiff Forum
  Search   Recent Topics     Member Listing    Back to home page 
Register / 
Login 
SWF -> XML bug?  
Forum Index -> Bugs
Author Message
scahchar


Joined: Feb 26, 2007
Messages: 1
Offline

Hi,
I'm trying to convert from SWF to XML and back, and it seems the XML created is illigal (am using the latest version from the download page):

When font definition tag is create for chars below 32 ascii the XML created looks like:

<glyph char="�" advance="0">
<shape/>
<bounds xmin="0" xmax="0" ymin="0" ymax="0"/>
</glyph>

Which is claimed by the XML parser to be illigal (&X0; inside an attribute),
I was trying to look in the source repository to find if this was fixed but the repository seems to be offline.

looks like using:

glyphElement.addAttribute("char", Character.toString(codeTable[i]));

in TagXMLWriter.java is bit unsafe.

TIA,

-- Schachar
Jim



Joined: Aug 15, 2005
Messages: 34
Location: China
Offline

If your char is not a ascii, it will be gen xml like <glyph char="�" advance="0">
 
  Forum Index -> Bugs
Go to:   
Legal notes
Powered by JForum 2.1.4 © 2005 - Rafael Steil