[ 
https://issues.apache.org/jira/browse/CMIS-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779924#action_12779924
 ] 

Florent Guillaume commented on CMIS-60:
---------------------------------------

This seems to be a CXF problem due to a JAXB bug, see CXF-2340 and 
https://jaxb.dev.java.net/issues/show_bug.cgi?id=665


> TCK fails on type entry - does not expect elements with 
> xsi:type="cmis:cmisTypeDocumentDefinitionType"
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CMIS-60
>                 URL: https://issues.apache.org/jira/browse/CMIS-60
>             Project: Chemistry
>          Issue Type: Bug
>          Components: tck
>            Reporter: Norrie Quinn
>            Priority: Minor
>
> In the abbreviated feed below the 
> xsi:type="cmis:cmisTypeDocumentDefinitionType" causes the TCK to fail.
> TRACE TCKMessageWriter - Validating response of content type 
> application/atom+xml;type=entry
> INFO TCKMessageWriter - Failed Validation: org.xml.sax.SAXParseException: 
> UndeclaredPrefix: Cannot resolve 'cmis:cmisTypeDocumentDefinitionType' as a 
> QName: the prefix 'cmis' is not declared. 
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <atom:feed xmlns:atom="http://www.w3.org/2005/Atom"; 
> xmlns:app="http://www.w3.org/2007/app"; 
> xmlns:cmis="http://docs.oasis-open.org/ns/cmis/core/200908/"; 
> xmlns:cmisra="http://docs.oasis-open.org/ns/cmis/restatom/200908/"; 
> xmlns:cmism="http://docs.oasis-open.org/ns/cmis/messaging/200908/"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
> ...
>     <atom:entry>
>         <atom:title type="text">cmis:document</atom:title>
>         
> <atom:id>http://devcmis:8080/resources/cmis/repositories/documentum/types/cmis:document</atom:id>
>         <cmisra:type xsi:type="cmis:cmisTypeDocumentDefinitionType">
>             <cmis:id>cmis:document</cmis:id>

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

Reply via email to