Skip to content

Convert dom.serialize.TestXmlns to JUnit - #106

Open
elharo wants to merge 4 commits into
mainfrom
convert-testxmlns-to-junit
Open

Convert dom.serialize.TestXmlns to JUnit#106
elharo wants to merge 4 commits into
mainfrom
convert-testxmlns-to-junit

Conversation

@elharo

@elharo elharo commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Convert the dom.serialize.TestXmlns test harness from main()-driven to JUnit 3.

  • Extends TestCase
  • Tests XMLSerializer and DOMWriter with xmlns attributes
  • Registered in batchtest in build.xml

@elharo
elharo force-pushed the convert-testxmlns-to-junit branch from 025a9d1 to d031baf Compare July 7, 2026 22:04
@elharo elharo changed the title [XERCESJ-1796] Convert dom.serialize.TestXmlns to JUnit 3 Convert dom.serialize.TestXmlns to JUnit 3 Jul 8, 2026
@elharo elharo changed the title Convert dom.serialize.TestXmlns to JUnit 3 Convert dom.serialize.TestXmlns to JUnit Jul 8, 2026
outerNode.setAttribute("xmlns", "myuri:");
document.appendChild(outerNode);

// Create an inner element with no further namespace declaration.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep this comment

Element innerNode = document.createElement("inner");
outerNode.appendChild(innerNode);

// DOM is complete, now serialize it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

keep this comment

@elharo
elharo force-pushed the convert-testxmlns-to-junit branch from eb78b51 to a9819fc Compare July 16, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant