You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Norrie Quinn (JIRA)" <ji...@apache.org> on 2009/11/10 21:01:28 UTC

[jira] Created: (CMIS-60) TCK fails on type entry - does not expect elements with xsi:type="cmis:cmisTypeDocumentDefinitionType"

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.


[jira] Commented: (CMIS-60) TCK fails on type entry - does not expect elements with xsi:type="cmis:cmisTypeDocumentDefinitionType"

Posted by "David Caruana (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Commented: (CMIS-60) TCK fails on type entry - does not expect elements with xsi:type="cmis:cmisTypeDocumentDefinitionType"

Posted by "Florent Guillaume (JIRA)" <ji...@apache.org>.
    [ 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.