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:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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="<boost/config/mt-gcc-solaris-stlport-config.hpp>"
/>
</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?
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