define tag

  • clem

    clem - 2004-09-21

    I've encountered an issue while creating the following define, which specifies a header file that needs to be included by a vendor's library I'm using:

    <define name="BOOST_USER_CONFIG"

    As the angle brackets have been escaped, this works as intended for the build.  However, I get the following error if I don't do a clean build:

      [cc] Error reading history.xml: org.xml.sax.SAXParseException: The value of attribute "signature" associated with an element type "processor" must not contain the '<' character.

    So it looks like the escaped value is not being preserved in the history.xml.  Is there a way this can be stored as CDATA?

    • Curt Arnold

      Curt Arnold - 2004-09-22

      I had used a very naive XML serialization since I did not want to require a recent Xerces in the classpath (which has a robust XML serializer).  Obviously my intentionally naive serializer did not anticipate that a compiler command line would contain a < character.

      Logged as


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks