Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-711

writeDomElement in StaxUtil does not write name space

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • PLINK_2.7.0.Final
    • COMMON
    • None
    • Hide

      See attachment "dummy.zip" for a test to reproduce the issue.
      Test fails at line 38 because <tr:testroot xmlns:tr="urn:testroot"><t:test></t:test></tr:testroot> cannot be parsed.

      Expected output would be <tr:testroot xmlns:tr="urn:testroot"><t:test xmlns:t="urn:test"></t:test></tr:testroot> instead.

      Show
      See attachment "dummy.zip" for a test to reproduce the issue. Test fails at line 38 because <tr:testroot xmlns:tr="urn:testroot"><t:test></t:test></tr:testroot> cannot be parsed. Expected output would be <tr:testroot xmlns:tr="urn:testroot"><t:test xmlns:t="urn:test"></t:test></tr:testroot> instead.

    Description

      Method writeDOMElement in class StaxUtil in package org.picketlink.common.util does not write a name space attribute for elements using a name space prefix. The resulting document cannot be parsed.

      Attachments

        Activity

          People

            psilva@redhat.com Pedro Igor Craveiro
            mchlhke Michael Hauke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: