www.jpct.net

jPCT - a 3d engine for Java => Bugs => Topic started by: Dan MacDonald on June 19, 2006, 10:44:55 am

Title: Small Bug in the Xml Parser
Post by: Dan MacDonald on June 19, 2006, 10:44:55 am
if you have an xml node element like the following

<mesh name="myMesh" path="/blah/blah/blah.3ds">
      <rotation x="25" y="0" z="0" />
</mesh>

The parser will never percieve mesh as having any children. I assume this is because of the '/'  characters in the attribute value, the parser assumes the mesh element is self closing. If i remove the path attribute the parser will correctly be able to read the rotation node.
Title: Small Bug in the Xml Parser
Post by: EgonOlsen on June 19, 2006, 06:05:58 pm
Ahem...yes, what a stupid bug. Well, here's a new jar that hopefully fixes it: http://www.jpct.net/download/beta/jpct.jar
Title: Small Bug in the Xml Parser
Post by: Dan MacDonald on June 20, 2006, 11:21:20 am
Thanks ;)
Title: Small Bug in the Xml Parser
Post by: EgonOlsen on June 27, 2006, 12:41:26 am
The fix was flawed...:oops:..i've uploaded a new version of that jar that hopefully fixes it.