Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

It should not matter where the namespace is defined #2

Closed
pepri opened this Issue Sep 2, 2012 · 3 comments

Comments

Projects
None yet
2 participants

pepri commented Sep 2, 2012

it("should not matter where the namespace is defined", function() {
    var doc1 = XML("<doc xmlns:foo='foo:bar'><foo:first/></doc>");
    var doc2 = XML("<doc><first xmlns='foo:bar'/></doc>");
    expect(doc1).beEquivalentTo(doc2);
});
Owner

theozaurus commented Sep 2, 2012

Good one. Not sure how to add that facility, will have to think on it.

Owner

theozaurus commented Sep 2, 2012

Have pushed a fix to master: dc38212

@theozaurus theozaurus closed this Sep 2, 2012

pepri commented Sep 2, 2012

Thank you for quick fix, I have just chosen your library for testing my tool. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment