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 20:28:00 UTC

[jira] [Created] (BATIK-1296) AbstractDocument.importNode(Node, boolean) does not set the attributes of elements

Carte Project created BATIK-1296:
------------------------------------

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


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