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

David Caruana commented on CMIS-60:
-----------------------------------

Norrie,

I've been trying to reproduce this issue without success. I've attempted to 
reconstruct a complete response from your snippet, but validation succeeds.

Is it possible for you to attach the complete response?

I also notice the trace message 'Validating response of content type 
application/atom+xml;type=entry' even though it's a feed. It's very unlikely 
this has any impact on the error, but it's something to note.

> 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