[
https://jira.jboss.org/jira/browse/DNA-297?page=com.atlassian.jira.plugin...
]
Brian Carothers updated DNA-297:
--------------------------------
Attachment: DNA-297.patch
This patch adds a corrected text encoder for the document view export and modifies the
repository to test for line feeds and tabs in the export. Exported carriage returns were
emitted correctly (as verified in a debugger), but were converted to new lines by the XML
Parser that the TCK test uses to read the values from the file.
Instead JcrSessionTest was modified to add a hard-coded test case that exports a
particular tree structure and does a string compare against an expected result.
JcrSession.exportDocumentView Does Not Export Carriage Returns, Line
Feeds, and Tabs Correctly
----------------------------------------------------------------------------------------------
Key: DNA-297
URL:
https://jira.jboss.org/jira/browse/DNA-297
Project: DNA
Issue Type: Bug
Affects Versions: 0.4
Reporter: Brian Carothers
Priority: Minor
Attachments: DNA-297.patch
JcrSession.exportDocumentView did not properly encode carriage returns, line feeds, or
tabs during export as described in section 6.4.4 of the 1.0.1 specification.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira