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

Support default namespaces #43

Open
flibbertigibbet opened this issue Jun 2, 2017 · 1 comment
Open

Support default namespaces #43

flibbertigibbet opened this issue Jun 2, 2017 · 1 comment

Comments

@flibbertigibbet
Copy link

Currently, validation fails if a default namespace is defined in the XML document.

When a namespace is defined, find fails to locate elements in the document, as element searches must include the namespace prefix.

Support default namespaces that are defined, for example, by including xmlns="http://www.votegis.com/schema/NISTV50.xsd" on the ElectionReport element.

flibbertigibbet added a commit to flibbertigibbet/election_results_xml_validator that referenced this issue Jun 2, 2017
Allow definition of default namespaces on input XML document.
Handles namespace prefixes in document.

Closes google#43.
@jdmgoogle
Copy link
Contributor

Can you provide an example of an XML document which fails to validate because of this issue? And can you provide an example scenario in which an XML document must have a default namespace defined?

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 a pull request may close this issue.

2 participants