diff options
author | Fredrik Gustafsson <[email protected]> | 2013-11-05 12:59:37 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-11-05 12:59:37 +0100 |
commit | 84fd7aa216f0f7f2a1d891b1f0cb1461272dc727 (patch) | |
tree | 5bfde1476c5523f5979667861c7239415df7ed27 /lib/xmerl/test/xmerl_SUITE_data/xpath/purchaseOrder.xml | |
parent | 00a3dade2d58836bca334be36843775343e5e269 (diff) | |
parent | 3702a386fd0121bde1b1d02c65de66245e9518cc (diff) | |
download | otp-84fd7aa216f0f7f2a1d891b1f0cb1461272dc727.tar.gz otp-84fd7aa216f0f7f2a1d891b1f0cb1461272dc727.tar.bz2 otp-84fd7aa216f0f7f2a1d891b1f0cb1461272dc727.zip |
Merge branch 'danielwhite/xmerl-xpath-resolve-context-namespaces/OTP-11461' into maint
* danielwhite/xmerl-xpath-resolve-context-namespaces/OTP-11461:
xmerl: Use context namespace declarations to resolve prefix node tests
xmerl: Look up unknown prefixes in xmlContext when matching attributes
xmerl: Add tests for XPath queries that resolve the context namespace
Diffstat (limited to 'lib/xmerl/test/xmerl_SUITE_data/xpath/purchaseOrder.xml')
-rw-r--r-- | lib/xmerl/test/xmerl_SUITE_data/xpath/purchaseOrder.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/xmerl/test/xmerl_SUITE_data/xpath/purchaseOrder.xml b/lib/xmerl/test/xmerl_SUITE_data/xpath/purchaseOrder.xml index a5ae223d65..16090c3590 100644 --- a/lib/xmerl/test/xmerl_SUITE_data/xpath/purchaseOrder.xml +++ b/lib/xmerl/test/xmerl_SUITE_data/xpath/purchaseOrder.xml @@ -1,7 +1,8 @@ <?xml version="1.0"?> <apo:purchaseOrder xmlns:apo="http://www.example.com/PO1" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" orderDate="1999-10-20"> - <billTo country="US"> + <billTo country="US" xsi:type="apo:USAddress"> <name>Robert Smith</name> <street>8 Oak Avenue</street> <!-- etc. --> @@ -10,7 +11,7 @@ <zip>95819</zip> </billTo> <apo:comment>Hurry, my lawn is going wild!</apo:comment> - <shipTo country="US"> + <shipTo country="US" xsi:type="apo:USAddress"> <name>Alice Smith</name> <street>123 Maple Street</street> <!-- etc. --> |