Re: Possible bug with less than
Bob Doan <[email protected]> Mon, 23 Oct 2006 14:18:02 -0400
| Newsgroups | gmane.text.rlib.user |
|---|---|
| Message-ID | <[email protected]> |
You have to use < for less then in order to make XML valid... Which kinda sucks but that is XML - Bob On Mon, 2006-10-23 at 12:02 -0600, Evan Gates wrote: > 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 > _______________________________________________ > Rlib-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/rlib-users -- ------------------------------------------------------------------------- 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