• Leigh B. Stoller's avatar
    Changes/Fixes to allow Shashi to spit NS files into the DB from the · fb2a8122
    Leigh B. Stoller authored
    * Change xmlconvert to use XML::Parser instead of the ad-hoc stuff I
      wrote. This was easier then trying to deal with multiline fields or
      all the special chars. XML::Parser does all that for me. Also make
      sure all fields are either properly quoted (with DBQuoteMeta) or
      regex'ed before we stick them into the DB. For the future, we need
      to add table/slot specific regular expressions.
    * Also add Shashi's fixes to the parser; properly escape XML special
      characters, as well as cleanup of my original spitxml code.
sim.tcl.in 25.8 KB