Michael Bolz created OLINGO-20:
----------------------------------

             Summary: EntityProviderException caused by 
checkAllMandatoryNamespacesAvailable() (application/atom+xml)
                 Key: OLINGO-20
                 URL: https://issues.apache.org/jira/browse/OLINGO-20
             Project: Olingo
          Issue Type: Bug
            Reporter: Michael Bolz
            Assignee: Michael Bolz
             Fix For: 1.0.0


During deserialization an EntityProviderException is caused 
bycheckAllMandatoryNamespacesAvailable()  although processed XML content 
(application/atom+xml) is valid.

Example:
{code}
POST https://localhost:8080/ref.web/ReferenceScenario.svc/Rooms
{code}

{code}
<?xml version='1.0' encoding='utf-8'?>
<entry xmlns="http://www.w3.org/2005/Atom"; 
xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices"; 
xml:base="https://localhost:8080/ref.web/ReferenceScenario.svc/";>
        <id>https://localhost:8080/ref.web/ReferenceScenario.svc/Rooms('1')</id>
        <title type="text">Room 1</title>
        <updated>2013-09-18T14:33:34.208Z</updated>
        <category term="RefScenario.Room" 
scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
        <link href="Rooms('1')" rel="edit" title="Room"/>
        <link href="Rooms('1')/nr_Employees" 
rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/nr_Employees";
 title="nr_Employees" type="application/atom+xml;type=feed"/>
        <link href="Rooms('1')/nr_Building" 
rel="http://schemas.microsoft.com/ado/2007/08/dataservices/related/nr_Building"; 
title="nr_Building" type="application/atom+xml;type=entry"/>
        <content type="application/xml">
                <m:properties 
xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata";>
                        <d:Id>1</d:Id>
                        <d:Name>Room 1</d:Name>
                        <d:Seats>1</d:Seats>
                        <d:Version>1</d:Version>
                </m:properties>
        </content>
</entry>
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to