[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jaxme-dev
Subject:    [jira] [Commented] (XMLSCHEMA-39) SchemaBuilder creates invalid attr nodes
From:       "Hudson (JIRA)" <jira () apache ! org>
Date:       2015-01-23 3:59:34
Message-ID: JIRA.12769458.1421963738000.153498.1421985574531 () Atlassian ! JIRA
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/XMLSCHEMA-39?page=com.atlassian.jira.plugi \
n.system.issuetabpanels:comment-tabpanel&focusedCommentId=14288706#comment-14288706 ] \


Hudson commented on XMLSCHEMA-39:
---------------------------------

SUCCESS: Integrated in xmlschema-trunk #169 (See \
[https://builds.apache.org/job/xmlschema-trunk/169/]) [XMLSCHEMA-39] Create a proper \
                xmlns namespace qualified attribute (dkulp: rev 1654088)
* /webservices/xmlschema/trunk/xmlschema-core/src/main/java/org/apache/ws/commons/schema/SchemaBuilder.java



> SchemaBuilder creates invalid attr nodes
> ----------------------------------------
> 
> Key: XMLSCHEMA-39
> URL: https://issues.apache.org/jira/browse/XMLSCHEMA-39
> Project: XmlSchema
> Issue Type: Bug
> Affects Versions: 2.1.0
> Reporter: Daniel Kulp
> Assignee: Daniel Kulp
> Fix For: 2.2.1
> 
> 
> In SchemaBuilder, when an "unknown" attribute contains a ":", it tries to create an \
> xmlns attribute for the prefix so the qname can be parsed later.   However, it does \
> so via: {code:java}
> Attr nsAttr = attrEl.getOwnerDocument().createAttribute("xmlns:" + prefix);
> nsAttr.setValue(namespace);
> attrs.add(nsAttr);
> {code}
> which doesn't set the namespace to the xmlns namespace.   This causes problems when \
> serializing later.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic