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] [Created] (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:32:41 GMT
Nicolas Couturier created ABDERA-351:
----------------------------------------

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

    @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