From: Wolfgang M. M. <wol...@us...> - 2004-08-18 20:09:19
|
Update of /cvsroot/exist/eXist-1.0/src/org/exist/xquery In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31064/src/org/exist/xquery Modified Files: AttributeConstructor.java Log Message: Entity references should only be expanded in strings when parsing string literals. Index: AttributeConstructor.java =================================================================== RCS file: /cvsroot/exist/eXist-1.0/src/org/exist/xquery/AttributeConstructor.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AttributeConstructor.java 28 May 2004 10:54:12 -0000 1.2 --- AttributeConstructor.java 18 Aug 2004 20:08:57 -0000 1.3 *************** *** 83,87 **** buf.append(next); } ! return new StringValue(buf.toString()); } --- 83,89 ---- buf.append(next); } ! StringValue result = new StringValue(buf.toString()); ! result.expand(); ! return result; } |