|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML support in browsers?
> I read that "3" is an XPath 1.0 answer while "8" is an XPath 2.0 answer,
> is it correct ?
No. The answer should be the same (8) in xpath 1 and 2.
The statement in the assertion that it has 3 is wrong.
nsa:data has 2 namespace nodes (with names "xml" and "nsa"
x has 3 namespace nodes (with names "xml" and "nsa" "edi"
y has 3 namespace nodes (with names "xml" and "nsa" "edi"
==
total: 8
<nsa:testsuite
xmlns:nsa="http://www.mozilla.org/firefox/xslt/namespace-axis">
...
<nsa:test id="20">
<nsa:assertion expectedvalue="3"
uri="http://www.w3.org/TR/xpath#namespace-nodes">The
'nsa:data' element sub-tree has a total of 3 namespace
nodes.</nsa:assertion>> <nsa:data>
<x xmlns:edi="http://ecommerce.example.org/schema">
<y/>
</x>
</nsa:data>
</nsa:test>
</nsa:testsuite>
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||






