abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicolas Couturier (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ABDERA-351) Simple @Extension-s don't print text child; @Extension-s print wrong namespace and prefix of their QName
Date Mon, 14 Oct 2013 11:40:41 GMT

     [ https://issues.apache.org/jira/browse/ABDERA-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nicolas Couturier updated ABDERA-351:
-------------------------------------

    Attachment: SerializerTest.java

The attached test - based on the existing org.apache.abdera.test.ext.serializer.SerializerTest
- will fail.

> Simple @Extension-s don't print text child; @Extension-s print wrong namespace and prefix
of their QName
> --------------------------------------------------------------------------------------------------------
>
>                 Key: ABDERA-351
>                 URL: https://issues.apache.org/jira/browse/ABDERA-351
>             Project: Abdera
>          Issue Type: Bug
>    Affects Versions: 1.1.3, 1.2
>            Reporter: Nicolas Couturier
>            Priority: Minor
>         Attachments: SerializerTest.java
>
>
> 1. When using:
>     @Extension(simple=true)
>     public String getExtension() { return "foo"; }
> output XML ends up as:
>     <##default:##default xmlns:##default="##default">
>     </##default:##default>
> 2. When using :
>     @Extension(ns = "http://example.org/simple", name = "foo", prefix = "simple", simple
= true)
>     public String getExtension() { return "foo"; }
> output XML ends up as :
>     <foo xmlns="">
>     </foo>



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message