Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic loadFromXml problems (Read 1736 times)
dhoult
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 23
Joined: Jun 3rd, 2008
loadFromXml problems
Jul 28th, 2008 at 3:26am
Print Post  
after having problems with v1.0.3 I decided to go ahead and update my code to work with v2.
Took a while to figure out, but now I'm having an issue with loadFromXml() (in javascript)

this is the error:
java.lang.Exception: java.security.AccessControlException: access denied (java.io.FilePermission <Diagram Version="13"><Nodes><Node Class="std:ShapeNode" Id="0" Version="1"><Bounds>390, 230, 100, 52<\Bounds><ZIndex>0<\ZIndex><HyperLink \><ToolTip \><Locked>False<\Locked><Visible>True<\Visible><Printable>True<\Printable><Brush
Id="0" \><Pen><Color>#FF000000<\Color><DashOffset>0<\DashOffset><DashStyle>0<\DashStyle
><LineJoint>0<\LineJoint><MiterLimit>0<\MiterLimit><Width>0<\Width><\Pen><Font><
Name>Microsoft Sans ......

It also doesn't seem to link loadFromString either.

Please help..
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: loadFromXml problems
Reply #1 - Jul 28th, 2008 at 9:03am
Print Post  
Have you passed the XML code as an argument to the loadFromXml method? The method expects a file path, and not XML code as an argument. What happens if you call loadFromString?

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint