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