[Sunxacml-commit] sunxacml/com/sun/xacml/ctx RequestCtx.java,1.5,1.6
Brought to you by:
farrukh_najmi,
sethp
From: <se...@us...> - 2003-08-29 18:53:00
|
Update of /cvsroot/sunxacml/sunxacml/com/sun/xacml/ctx In directory sc8-pr-cvs1:/tmp/cvs-serv10426/com/sun/xacml/ctx Modified Files: RequestCtx.java Log Message: fixed encoding bug to include RequestContent correctly Index: RequestCtx.java =================================================================== RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/ctx/RequestCtx.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** RequestCtx.java 25 Aug 2003 16:53:10 -0000 1.5 --- RequestCtx.java 29 Aug 2003 18:52:56 -0000 1.6 *************** *** 423,430 **** // next do the resource ! if (resource.size() != 0) { out.println(indent + "<Resource>"); if (resourceContent != null) ! out.println(indenter.makeString() + resourceContent); encodeAttributes(resource, out, indenter); out.println(indent + "</Resource>"); --- 423,431 ---- // next do the resource ! if ((resource.size() != 0) || (resourceContent != null)) { out.println(indent + "<Resource>"); if (resourceContent != null) ! out.println(indenter.makeString() + "<ResourceContent>" + ! resourceContent + "</ResourceContent>"); encodeAttributes(resource, out, indenter); out.println(indent + "</Resource>"); |