File:
[parser3project] /
parser3 /
tests /
results /
149.processed
Revision
1.7:
download - view:
text,
annotated -
select for diffs -
revision graph
Sun Jul 25 06:36:44 2010 UTC (15 years, 10 months ago) by
misha
Branches:
MAIN
CVS tags:
release_3_5_1,
release_3_5_0,
release_3_4_6,
release_3_4_5,
release_3_4_4,
release_3_4_3,
release_3_4_2,
release_3_4_1,
HEAD
- prepare tests to trim trailing methods' EOLs
Content-Type: text/html
Content-Length: 13769
<h2>Origin</h2>
<pre><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE people>
<!--some comment-->
<people xmlns:first="http://parser.ru/first" xmlns:second="http://parser.ru/second">
<man first:attrname="attr value">
<name>ПИФ&amp;</name>
</man>
<man id="1" имя="word слово">
<name>P«AF B</name>
<tst:findme xmlns:tst="http://parser.ru/tst">secret</tst:findme>
</man>
</people>
</pre><hr />
[9]
<br />
[14]
<br />
[8]
some comment<br />
<people
>
<br />
[3]
<br />
<man
attrname="attr value"
>
<br />
[3]
<br />
<name
>
<br />
[3]
ПИФ&<br />
[3]
<br />
</name><br />
[3]
<br />
<man
id="1" имя="word слово"
>
<br />
[3]
<br />
<name
>
<br />
[3]
P«AF B<br />
[3]
<br />
<findme
>
<br />
[3]
secret<br />
[3]
<br />
</findme><br />
</name><br />
[3]
<br />
</man><br />
</man><br />
</people><br />
<hr />
<hr />
attr value
<h2>Added attrname2 for last 'man' element</h2>
<pre><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE people>
<!--some comment-->
<people xmlns:first="http://parser.ru/first" xmlns:second="http://parser.ru/second">
<man first:attrname="attr value">
<name>ПИФ&amp;</name>
</man>
<man id="1" имя="word слово" second:attrname2="value 2">
<name>P«AF B</name>
<tst:findme xmlns:tst="http://parser.ru/tst">secret</tst:findme>
</man>
</people>
</pre><hr />
[9]
<br />
[14]
<br />
[8]
some comment<br />
<people
>
<br />
[3]
<br />
<man
attrname="attr value"
>
<br />
[3]
<br />
<name
>
<br />
[3]
ПИФ&<br />
[3]
<br />
</name><br />
[3]
<br />
<man
id="1" имя="word слово" attrname2="value 2"
>
<br />
[3]
<br />
<name
>
<br />
[3]
P«AF B<br />
[3]
<br />
<findme
>
<br />
[3]
secret<br />
[3]
<br />
</findme><br />
</name><br />
[3]
<br />
</man><br />
</man><br />
</people><br />
<hr />
<hr />
<h2>Removed attrname for first 'man' element</h2>
<pre><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE people>
<!--some comment-->
<people xmlns:first="http://parser.ru/first" xmlns:second="http://parser.ru/second">
<man>
<name>ПИФ&amp;</name>
</man>
<man id="1" имя="word слово" second:attrname2="value 2">
<name>P«AF B</name>
<tst:findme xmlns:tst="http://parser.ru/tst">secret</tst:findme>
</man>
</people>
</pre><hr />
[9]
<br />
[14]
<br />
[8]
some comment<br />
<people
>
<br />
[3]
<br />
<man
>
<br />
[3]
<br />
<name
>
<br />
[3]
ПИФ&<br />
[3]
<br />
</name><br />
[3]
<br />
<man
id="1" имя="word слово" attrname2="value 2"
>
<br />
[3]
<br />
<name
>
<br />
[3]
P«AF B<br />
[3]
<br />
<findme
>
<br />
[3]
secret<br />
[3]
<br />
</findme><br />
</name><br />
[3]
<br />
</man><br />
</man><br />
</people><br />
<hr />
<hr />
^x.getAttrinuteNS[...;attrname2]='value 2'<br />
$Attr.nodeValue='value 2'<br />
<h2>Changed attrname2 for last 'man' element</h2>
<pre><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE people>
<!--some comment-->
<people xmlns:first="http://parser.ru/first" xmlns:second="http://parser.ru/second">
<man>
<name>ПИФ&amp;</name>
</man>
<man id="1" имя="word слово" second:attrname2="changed attribute value">
<name>P«AF B</name>
<tst:findme xmlns:tst="http://parser.ru/tst">secret</tst:findme>
</man>
</people>
</pre><hr />
[9]
<br />
[14]
<br />
[8]
some comment<br />
<people
>
<br />
[3]
<br />
<man
>
<br />
[3]
<br />
<name
>
<br />
[3]
ПИФ&<br />
[3]
<br />
</name><br />
[3]
<br />
<man
id="1" имя="word слово" attrname2="changed attribute value"
>
<br />
[3]
<br />
<name
>
<br />
[3]
P«AF B<br />
[3]
<br />
<findme
>
<br />
[3]
secret<br />
[3]
<br />
</findme><br />
</name><br />
[3]
<br />
</man><br />
</man><br />
</people><br />
<hr />
<hr />
right<br />
<h2>Added attrname3 for last 'man' element</h2>
<pre><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE people>
<!--some comment-->
<people xmlns:first="http://parser.ru/first" xmlns:second="http://parser.ru/second">
<man>
<name>ПИФ&amp;</name>
</man>
<man id="1" имя="word слово" second:attrname2="changed attribute value" third:attrname3="value3">
<name>P«AF B</name>
<tst:findme xmlns:tst="http://parser.ru/tst">secret</tst:findme>
</man>
</people>
</pre><hr />
[9]
<br />
[14]
<br />
[8]
some comment<br />
<people
>
<br />
[3]
<br />
<man
>
<br />
[3]
<br />
<name
>
<br />
[3]
ПИФ&<br />
[3]
<br />
</name><br />
[3]
<br />
<man
id="1" имя="word слово" attrname2="changed attribute value" attrname3="value3"
>
<br />
[3]
<br />
<name
>
<br />
[3]
P«AF B<br />
[3]
<br />
<findme
>
<br />
[3]
secret<br />
[3]
<br />
</findme><br />
</name><br />
[3]
<br />
</man><br />
</man><br />
</people><br />
<hr />
<hr />
<findme
>
<br />
[3]
secret<br />
</findme><br />
<br /><br />
right<br />
right
<hr />
/people/man[@id=1] has attributes<br />
/people/man[@id=1]/name hasn't attributes<br />
E-mail: