define tag

Help
clem
2004-09-21
2013-04-24
  • 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:

    <defineset>
    <define name="BOOST_USER_CONFIG"
    value="&lt;boost/config/mt-gcc-solaris-stlport-config.hpp&gt;"
    />
    </defineset>

    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 http://sourceforge.net/tracker/index.php?func=detail&aid=1032302&group_id=36177&atid=416920

       

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

Sign up for the SourceForge newsletter:





No, thanks