Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Added support for encoding and decoding namespaced xml (xmlns)#11375
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ClementGautier commentedJul 11, 2014
@mattvick I've rewritten your commit to use the new implementation, I hope its ok for you. |
mattvick commentedJul 11, 2014
@ClementGautier sure thanks |
fabpot commentedJul 11, 2014
👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
should beforeach ($xpath->query('namespace::*', $dom->documentElement) as $nsNode) {
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
@jakzal thanks
jakzal commentedJul 12, 2014
👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
isset is unnecessary...unset will work without warning if the key is defined or not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I've fixed this in21e7ad7
fabpot commentedJul 25, 2014
Thank you@ClementGautier. |
… (xmlns) (mattvick)This PR was merged into the 2.6-dev branch.Discussion----------Added support for encoding and decoding namespaced xml (xmlns)Q | A------------ | -------------Bug fix? | noNew feature? | yesBC breaks? | noDeprecations? | noTests pass? | yesFixed tickets |#10625License | MITComplete this PR :#9156Commits-------9d6b20c Added support for encoding and decoding namespaced xml (xmlns)
Tobion commentedFeb 17, 2015
This was actually a surprising BC break for us. All these |
Complete this PR :#9156