in reply to Re: RFC: XML::Composer
in thread RFC: XML::Composer

There are tons of modules that let you write XML. <snark>Which one you want to use depends upon which set of bugs you want to avoid</snark>. Seriously, XML::Genx and XML::Writer are both fairly decent thought getting namespaces to work can be excruciatingly painful.

Cheers,
Ovid

New address of my CGI Course.

Replies are listed 'Best First'.
Re^3: RFC: XML::Composer
by dragonchild (Archbishop) on Oct 01, 2005 at 01:13 UTC
    FYI - XML::Writer does allow you to generate invalid XML. You just have to turn off the well-defined check(s) that you're violating. :-)

    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?

      Part of the problem with that module is explained in the bug report I just filed. Namespaces are handled poorly. Also, I don't know that it allows me to insert unescaped data between tags. I know I should do that, but I don't have a choice. There are some really, really bad XML "variants" out there.

      Cheers,
      Ovid

      New address of my CGI Course.