History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: SES-425
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Arjohn Kampman
Reporter: Arjohn Kampman
Votes: 0
Watchers: 0
Operations

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

RDF/XML writer needs to encode "carriage return" characters in literal values

Created: 05/Jul/07 11:21 AM   Updated: 04/Oct/07 12:09 PM
Component/s: Rio
Affects Version/s: 2.0-alpha-1, 2.0-alpha-2, 2.0-alpha-3
Fix Version/s: 2.0-alpha-4


 Description   
XML parsers are required to normalize any end-of-line character sequences in XML documents to a single LF (line feed) character[1]. Due to this, any CR (carriage return) characters and CR-LF combinations that are part of RDF literal values will be replaced with LF characters by the XML parser, effectively changing the RDF literal value. To prevent this, any CR characters in RDF literals should be encoded using the entity 

[1] http://www.w3.org/TR/REC-xml/#sec-line-ends

 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.