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

Set explicitChar: true to make XML parsing consistent. Fixes issue #283 and #187 #361

Merged
merged 2 commits into from
Mar 12, 2019

Conversation

andkrist
Copy link
Contributor

@andkrist andkrist commented Mar 7, 2019

By setting explicitChars to true whenever xml2js is used and always use ._ to access values incosistent checks for [0] and [0]._ are eliminated.

Not broken test that were not broken from before.

Could have set .$ and ._ to .attrs and .chars or something instead but to fix the inconsistensies in the issues this was not necessary.

@markstos markstos changed the title Fixes issue #283 and #187 Set explicitChar: true to make XML parsing consistent. Fixes issue #283 and #187 Mar 12, 2019
@markstos
Copy link
Contributor

The ._ syntax is ugly, but as discussed in #283, I think the consistent XML parsing is worth it here.

Thanks. Merging.

@markstos markstos merged commit 53bfd7d into node-saml:master Mar 12, 2019
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.

3 participants