You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by "Carte Project (Jira)" <ji...@apache.org> on 2020/12/08 21:10:00 UTC
[jira] [Commented] (BATIK-1296) AbstractDocument.importNode(Node,
boolean) does not set the attributes of elements
[ https://issues.apache.org/jira/browse/BATIK-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17246148#comment-17246148 ]
Carte Project commented on BATIK-1296:
--------------------------------------
Created pull request 23 in Github:
https://github.com/apache/xmlgraphics-batik/pull/23
> AbstractDocument.importNode(Node, boolean) does not set the attributes of elements
> ----------------------------------------------------------------------------------
>
> Key: BATIK-1296
> URL: https://issues.apache.org/jira/browse/BATIK-1296
> Project: Batik
> Issue Type: Bug
> Components: SVG DOM
> Affects Versions: 1.13
> Reporter: Carte Project
> Priority: Major
>
> When a document is imported, the attributes of its elements are imported without their values being set. The following are lines 365-368 of {{AbstractDocument}}:
> {code:java}
> case ATTRIBUTE_NODE:
> result = createAttributeNS(importedNode.getNamespaceURI(),
> importedNode.getNodeName());
> break;
> {code}
>
> The attribute is being created but its value is not set. Related: BATIK-290.
> I'm preparing a pull request that fixes the issue.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-dev-help@xmlgraphics.apache.org