History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GROOVY-2473
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: John Wilson
Reporter: Joachim Baumann
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
groovy

StreamingMarkupBuilder assumes that the encoding is always known

Created: 06/Jan/08 02:06 PM   Updated: 08/Feb/08 01:26 AM
Component/s: XML Processing
Affects Version/s: None
Fix Version/s: 1.5.2

Time Tracking:
Not Specified


 Description  « Hide
The code cannot always tell the encoding being used by the Writer. In the case of StringWriter, for example, no encoding is being used. In this case the code assumes USASCII. So it escapes all characters with values > 127. This is perfectly good behaviour and will ensure that no data is lost in nearly all encodings.

However, the implementation generating the XML header assumes that the encoding is always known.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Paul King - 08/Feb/08 01:26 AM
close off release 1.5.4