[ 
https://issues.apache.org/jira/browse/OLINGO-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14237897#comment-14237897
 ] 

Michael Bolz commented on OLINGO-506:
-------------------------------------

Hi [~Yaofeng],

during the fix I also thought about removing the {{defaultNamespace}} parameter.
Based on this I created a fix and pushed in into [this 
branch|https://git-wip-us.apache.org/repos/asf?p=olingo-odata2.git;a=shortlog;h=refs/heads/OLINGO-506_AnnotationFix].
Can you please take a look at and comment it.

Kind regards,
Michael

> Issues during annotating a complex type
> ---------------------------------------
>
>                 Key: OLINGO-506
>                 URL: https://issues.apache.org/jira/browse/OLINGO-506
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-annotation
>    Affects Versions: V2 2.0.0, V2 2.0.1
>            Reporter: Yaofeng Xu
>            Assignee: Michael Bolz
>             Fix For: V2 2.0.2
>
>         Attachments: issues when annotating a Complex Type.docx
>
>
> 1. When annotating a Complex Type, if the name attribute is not provided, the 
> schema won't be able to detect a correct type name for this complex type 
> property in an entity.
> 2. If name space attribute is not specified in the complex type annotation, 
> the schema will use the entity's namespace as its namespace, which is not 
> necessary always true.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to