Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up / debug namespace support #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

domq
Copy link
Contributor

@domq domq commented Jun 20, 2018

  • Ensure that a no-op run preserves namespace prefixes
  • Fix a bug where "xmlns:" was duplicated in the top-level element
  • Fix a bug that prevented manual switching between XML::XPath and XML::LibXML as the back-end parser

Dominique Quatravaux added 5 commits June 20, 2018 16:12
* Remove bizarre assumption that xmlns: is the only namespace in play

* At any rate, just calling ->getName() does the right thing these
  days, so do that
Also tested by flipping line 244 of lib/XML/XPathScript.pm to

  our $XML_parser = 'XML::XPath';

* Add get_qualified_name() in all the XML parser adapters, and provide
  suitable implementations for all three APIs. (For B::XPath it is
  more of a shot in the dark - I don't suppose B opcodes have
  namespaces)

* By default, pretty-print the opening and closing tags of a node in
  terms of their get_qualified_name() instead of their get_name()
* Bump version to 1.55 everywhere

* Add Changes entry (almost 10 years since the last one!)

* ./Build dist
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