This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If element has attributes & string value until now the string value was ignored & lost, I added the _ index so that it also returns the string value along with the attribute names
Ocramius
added a commit
that referenced
this pull request
Nov 17, 2014
gianarb
pushed a commit
to zendframework/zend-config
that referenced
this pull request
May 15, 2015
… minor CS fixes
gianarb
pushed a commit
to zendframework/zend-config
that referenced
this pull request
May 15, 2015
…endframework#6879-zend-config-reader-xml-node-value-conflict' Close zendframework/zendframework#6279 Close zendframework/zendframework#6879
gianarb
pushed a commit
to zendframework/zend-config
that referenced
this pull request
May 15, 2015
…endframework#6879-zend-config-reader-xml-node-value-conflict' into develop Close zendframework/zendframework#6279 Close zendframework/zendframework#6879 Forward port zendframework/zendframework#6279 Forward port zendframework/zendframework#6879
boesing
pushed a commit
to laminas/laminas-cache-storage-adapter-apc
that referenced
this pull request
May 24, 2020
…endframework#6879-zend-config-reader-xml-node-value-conflict' into develop Close zendframework/zendframework#6279 Close zendframework/zendframework#6879 Forward port zendframework/zendframework#6279 Forward port zendframework/zendframework#6879
boesing
pushed a commit
to laminas/laminas-cache-storage-adapter-memcached
that referenced
this pull request
Jul 4, 2020
…endframework#6879-zend-config-reader-xml-node-value-conflict' into develop Close zendframework/zendframework#6279 Close zendframework/zendframework#6879 Forward port zendframework/zendframework#6279 Forward port zendframework/zendframework#6879
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue summary
In
Zend\Config\Reader\Xml
, loading an XML file with elements having both attributes and a node value the node value is lost:Loading this XML file:
Would result in an array like this:
Fix
If an element has attributes then read the node value and place it in the special array key
_
Ack
Fix contributed by @catalint