* Strict XML Prefixed namespace check

* Yang augment created multiple augmented children (no side-effect)
* XML prefixed attribute names were not copied into the datastore
This commit is contained in:
Olof hagsand 2019-03-04 19:15:23 +01:00
parent b182e8666f
commit 4b17af0278
9 changed files with 208 additions and 90 deletions

View file

@ -27,7 +27,7 @@ cat <<EOF > $xml
EOF
cat <<EOF > $xml2
<if:interfaces>
<if:interfaces xmlns:if="urn:example:if" xmlns:ip="urn:example:ip">
<if:interface>
<if:name>e0</if:name>
<ip:ipv6>
@ -35,9 +35,9 @@ cat <<EOF > $xml2
</ip:ipv6>
</if:interface>
</if:interfaces>
<rt:name>e0</rt:name>
<rt:name xmlns:rt="urn:example:rt">e0</rt:name>
<address-family>myfamily</address-family>
<aaa>
<aaa xmlns:rt="urn:example:rt">
<rt:address-family>v6ur:ipv6-unicast</rt:address-family>
<name>foo</name>
<bbb>