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:36:41 GMT

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

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

    Description: 
1. When using:
{code:java}
    @Extension(simple=true)
    public String getExtension() { return "foo"; }
{code}
output XML ends up as:
{code:xml}
    <##default:##default xmlns:##default="##default">
    </##default:##default>
{code}
2. When using :
{code:java}
    @Extension(ns = "http://example.org/simple", name = "foo", prefix = "simple", simple =
true)
    public String getExtension() { return "foo"; }
{code}
output XML ends up as :
{code:xml}
    <foo xmlns="">
    </foo>
{code}

  was:
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>



> 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
>
> 1. When using:
> {code:java}
>     @Extension(simple=true)
>     public String getExtension() { return "foo"; }
> {code}
> output XML ends up as:
> {code:xml}
>     <##default:##default xmlns:##default="##default">
>     </##default:##default>
> {code}
> 2. When using :
> {code:java}
>     @Extension(ns = "http://example.org/simple", name = "foo", prefix = "simple", simple
= true)
>     public String getExtension() { return "foo"; }
> {code}
> output XML ends up as :
> {code:xml}
>     <foo xmlns="">
>     </foo>
> {code}



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

Mime
View raw message