Possible bug with less than

"Evan Gates" <[email protected]> Mon, 23 Oct 2006 12:02:04 -0600
Newsgroups gmane.text.rlib.user
Message-ID <[email protected]>
It looks like the XML parser is erroring out when the less than sign
is used within an iff() statement.

I'm doing the line:
  <field value="v.DEPT_YEAR1" color="iff(v.DEPT_YEAR1 < 0, 'Red',
'Black')" align="left" />

The errors I'm getting are:
  /srv/www/_portal_xml_templates/mult_year_spdtype_FOPPS_layout.xml:51:
parser error : Unescaped '<' not allowed in attributes values
                               <field value="v.DEPT_YEAR1"
color="iff(v.DEPT_YEAR1 < 0, 'Red', '

            ^
/srv/www/_portal_xml_templates/mult_year_spdtype_FOPPS_layout.xml:51:
parser error : attributes construct error
                               <field value="v.DEPT_YEAR1"
color="iff(v.DEPT_YEAR1 < 0, 'Red', '

            ^
/srv/www/_portal_xml_templates/mult_year_spdtype_FOPPS_layout.xml:51:
parser error : error parsing attribute name
                               <field value="v.DEPT_YEAR1"
color="iff(v.DEPT_YEAR1 < 0, 'Red', '

            ^
/srv/www/_portal_xml_templates/mult_year_spdtype_FOPPS_layout.xml:51:
parser error : attributes construct error
                               <field value="v.DEPT_YEAR1"
color="iff(v.DEPT_YEAR1 < 0, 'Red', '

As usual, thank you for your product and quick responses.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642