Bugs item #1518531, was opened at 2006-07-07 06:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1518531&group_id=16035

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Edwin Dankert (edankert)
Assigned to: Nobody/Anonymous (nobody)
Summary: ProcessingInstruction.setValue does not change the value

Initial Comment:
When using the setValue(String) method on a processing
instruction, the underlying text value is not changed.

This makes that the changed value is not available
using the write or asXML methods.

Work around is to use the setValues method instead.

To fix this:

<before> 
    public void setValue(String name, String value) {
        values.put(name, value);
    }
</before>

<after>
    public void setValue(String name, String value) {
        values.put(name, value);
        this.text = toString(values);
    }
</after>


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=116035&aid=1518531&group_id=16035

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
_______________________________________________
dom4j-dev mailing list
dom4j-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to