The symbol attribute (which does not get quoted by default) causes a problem if the value references a stmbol's name. I think it could also benefit from your fix.
Thank you! On Fri, Mar 19, 2010 at 2:49 PM, Alan Boudreault <aboudrea...@mapgears.com>wrote: > Alexandre, you are right, if the expression is an regular expression, it > shouldn't be quoted. I think the only solution would be to add an attribute > in > the xml schema, that will specify if the expression is an regular > expression > of not. Something like: > > <expression regex="ON"></expression> > > In this case, the xsl transformation would not quote it. I take a note on > that > and should fix this in the next few days. > > Thanks for reporting! > Alan > > On March 19, 2010 02:21:45 pm Alexandre Soares wrote: > > Hi, > > > > When I transform my xml map file to a map file, my expressions that > contain > > a regular expression (the same is true for filters) are rendered with > > double quotes (because the stylesheet has the quote="1" param for those > > templates). > > > > Is there an intended way to achieve this? I know I could modify the > > stylesheet to not quote those elements and then quote-wrap my value if I > > need them (in case of string comparison). > > > > Thank you! > > > > -- > Alan Boudreault > Mapgears > http://www.mapgears.com >
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users