[dna-issues] [JBoss JIRA] Updated: (DNA-295) TCK Tests for Session.export* Methods Fail
Brian Carothers (JIRA)
jira-events at lists.jboss.org
Fri Mar 6 18:27:22 EST 2009
[ https://jira.jboss.org/jira/browse/DNA-295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Carothers updated DNA-295:
--------------------------------
Attachment: DNA-295.patch
Attached patch implements session.export*View methods as per sections 6.4.1 and 6.4.2 of the 1.0 spec with the exception of not properly encoding binary values. I don't know how to test this until write support is at least partially implemented.
The change required:
- Adding a new text encoder to escape XML entities (&, ", etc)
- Adding a new DNA built-in type dna:xmltext to support the special document view xmltext import (see section 6.4.2.3)
- Adding a base class for exporters, a system view exporter class, and a document view exporter class that use TraversingItemVisitor.Default to walk through the content tree and generate the views.
- Modifying the test repository to include some more challenging cases to test encoding.
> TCK Tests for Session.export* Methods Fail
> ------------------------------------------
>
> Key: DNA-295
> URL: https://jira.jboss.org/jira/browse/DNA-295
> Project: DNA
> Issue Type: Bug
> Components: JCR
> Affects Versions: 0.4
> Reporter: Brian Carothers
> Attachments: DNA-295.patch
>
>
> The TCK tests for Session.exportSystemView and Session.exportDocumentView fail as these methods have not yet been implemented as per sections 6.4.1 and 6.4.2 of the JCR 1.0 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
More information about the dna-issues
mailing list