You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2007/03/09 16:18:24 UTC

[jira] Resolved: (JCR-783) TCK: SerializationTest.helpTestSaxException casts ContentHandler to DefaultHandler

     [ https://issues.apache.org/jira/browse/JCR-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger resolved JCR-783.
----------------------------------

    Resolution: Fixed

The tests now use an XMLReader which is satisfied with just a plain ContentHandler.

Fixed in revision: 516427

Thanks for reporting this issue.

> TCK: SerializationTest.helpTestSaxException casts ContentHandler to DefaultHandler
> ----------------------------------------------------------------------------------
>
>                 Key: JCR-783
>                 URL: https://issues.apache.org/jira/browse/JCR-783
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: JCR TCK
>    Affects Versions: 1.0
>            Reporter: angela
>            Priority: Trivial
>
> the JSR170 defines import with ContentHandler (see Session.getImportContentHandler, Workspace.getImportContentHandler)
> the mentioned helper method within the TCK casts the ContentHandler returned by those methods to DefaultHandler without testing if the contenthandler is a DefaultHandler (line 273)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.