From: Wolfgang M. M. <wol...@us...> - 2004-08-18 20:09:19
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/xquery/parser In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31064/src/org/exist/xquery/parser Modified Files: XQuery.g Log Message: Entity references should only be expanded in strings when parsing string literals. Index: XQuery.g =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xquery/parser/XQuery.g,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** XQuery.g 8 Aug 2004 19:03:26 -0000 1.23 --- XQuery.g 18 Aug 2004 20:08:57 -0000 1.24 *************** *** 2015,2019 **** c:STRING_LITERAL { ! step= new LiteralValue(context, new StringValue(c.getText())); step.setASTNode(c); } --- 2015,2021 ---- c:STRING_LITERAL { ! StringValue val = new StringValue(c.getText()); ! val.expand(); ! step= new LiteralValue(context, val); step.setASTNode(c); } |