Rowan Collins
06bfb14e18
Fix issue #3 : attributes with no namespace prefix not shown
...
Oddly, the XML namespace spec leaves un-prefixed attributes as
undefined behaviour, rather than inheriting the default namespace.
While fixing this, I've also made most of the output ignore local
aliases, because everyone should be using namespace URIs anyway.
2021-03-14 19:22:56 +00:00
Rowan Collins
627c7d5685
Fix #11 : Use DOM to determine actual namespace of current element
2017-11-09 23:10:38 +00:00
Rowan Collins
16622d96f3
Fix #5 : Be opinionated and show namespace URIs rather than prefixes
2017-11-09 22:54:49 +00:00
Rowan Collins
6ac7c40043
Fix #4 : extra ->children() should show for prefixed root element
2017-11-09 21:46:20 +00:00
Rowan Collins
f3238d95c0
Merge branch 'xml-oriented-tests'
2017-11-09 20:40:58 +00:00
Rowan Collins
96c89e2660
Add SOAP examples, with failing test for Issue #4
2017-11-09 20:39:46 +00:00
Rowan Collins
2e116762f0
Fix autoload section of composer.json to actually autoload the files
2017-11-09 20:04:19 +00:00
Rowan Collins
60afe7f7b9
Rearrange tests to be a directory of samples, all tested the same way
2017-11-09 20:02:34 +00:00
Rowan Collins
0fb1c9b166
Add proper configuration for running the unit tests
...
Document my target of PHP 5.3 while I'm at it.
2017-11-09 19:19:37 +00:00
Rowan Collins
6b47bd6f04
Re-license under MIT, as discussed under issue #6 .
2017-11-09 18:47:58 +00:00
Rowan Collins
b0af84618e
Merge pull request #8 from joshtronic/master
...
Unit Tests!!
2017-11-09 18:34:35 +00:00
Josh Sherman
53538b402e
Got both dump and tree to 90% coverage
2014-08-18 21:56:40 -04:00
Josh Sherman
3cad264843
Unit tests for dump
...
Got coverage up to 90% probably need @IMSoP to finish the rest as I'm having
a hard time getting tests to hit the logic.
2014-08-09 11:36:04 -04:00
Josh Sherman
af30ba47b6
Working on better code coverage
...
Added a new test that gets us up to 80% coverage. Still a ways to go.
2014-08-08 22:16:54 -04:00
Josh Sherman
75acba318d
Started on some unit tests.
2014-08-07 22:47:07 -04:00
IMSoP
ee664cfaa0
Merge pull request #7 from joshtronic/master
...
Composer package.
2014-07-22 20:18:28 +01:00
Josh Sherman
24b9c670a3
Composer package.
...
Really great project, wanted a composer package for it.
2014-07-17 18:04:36 -04:00
Rowan Collins
8c051a219f
Remove formal licensing information in favour of a do-what-you-like-but-be-nice policy.
...
It's not like I'm going to hire a lawyer if you don't follow it anyway.
Fixes Issue #6
2013-09-22 11:13:37 -07:00
Rowan Collins
8a6e4cf345
Mention simplexml_tree() in README
2012-10-14 01:25:14 +01:00
Rowan Collins
d05192edb6
When given multiple nodes, hint how to access each as [0], [1], etc
2012-10-14 01:21:22 +01:00
Rowan Collins
5231f710de
Always list attributes, with only the string content optional
2012-10-14 01:13:24 +01:00
Rowan Collins
e092558286
Show (string) as hint for getting string content (including on attributes,
...
although this makes for more vertical scrolling)
2012-10-14 01:09:03 +01:00
Rowan Collins
4233dc8a6d
Improved namespace handling: now shows shortest syntax for attributes and
...
elements in current namespace.
2012-10-14 00:58:00 +01:00
Rowan Collins
6ba4a27275
New function! simplexml_tree() for recursive viewing of whole trees
2012-10-14 00:01:05 +01:00
Rowan Collins
7c746c4485
Fix child name hash not to give "undefined array key" Notices
2012-10-13 23:56:26 +01:00
Rowan Collins
16d724ed78
Mention CDATA. Everyone panics about CDATA.
2012-09-04 22:46:39 +01:00
Rowan Collins
5fdfb8f7af
Add a README, and authorship information in the DocBlock
2012-09-04 22:34:52 +01:00
Rowan Collins
b501dabab4
List names of children and attributes, not just total count
2012-09-02 22:20:38 +01:00
Rowan Collins
490e4376a3
Handle null-namespace special case (or at least handle it better...)
2012-09-02 22:05:14 +01:00
Rowan Collins
853249c284
Improve comments, add return-mode, remove test code
2012-09-02 21:42:18 +01:00
Rowan Collins
e6ed9928a6
Improvements to namespace handling using new test case 21/08/2012 00:18
2012-09-02 21:24:00 +01:00
Rowan Collins
ee77e63662
Initial prototype 20/08/2012 23:25
2012-09-02 21:21:55 +01:00