Author Topic: Small Bug in the Xml Parser  (Read 6235 times)

Offline Dan MacDonald

  • byte
  • *
  • Posts: 9
    • View Profile
Small Bug in the Xml Parser
« 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.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Small Bug in the Xml Parser
« Reply #1 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

Offline Dan MacDonald

  • byte
  • *
  • Posts: 9
    • View Profile
Small Bug in the Xml Parser
« Reply #2 on: June 20, 2006, 11:21:20 am »
Thanks ;)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Small Bug in the Xml Parser
« Reply #3 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.