Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1296

AbstractDocument.importNode(Node, boolean) does not set the attributes of elements

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.13
    • Fix Version/s: None
    • Component/s: SVG DOM
    • Labels:
      None

      Description

      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:

      case ATTRIBUTE_NODE:
       result = createAttributeNS(importedNode.getNamespaceURI(),
       importedNode.getNodeName());
       break;
      

       
      The attribute is being created but its value is not set. Related: BATIK-290.

      I'm preparing a pull request that fixes the issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                carte Carte Project
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: