Sha256: dc1af5db3df5e27445f60107f1d6677998f5940bee0be041e47b92007ec7dcb1

Contents?: true

Size: 1.24 KB

Versions: 1

Compression:

Stored size: 1.24 KB

Contents

<?xml version="1.0" encoding="UTF-8"?>

<!-- XPath="self::Parent or (parent::Parent and not(self::Child)) or self::GrandChild or parent::GrandChild" -->

<!-- Result C14N:
<Parent xml:foo="bar" xml:fool="barbar" xml:lang="en" xml:space="default">
    <GrandChild xml:foo="barbarossa" xml:fool="barbar" xml:lang="ge" xml:space="preserve"></GrandChild>
  </Parent>
-->

<!-- Annotation C14N:
1. Parent inherts xml:lang and xml:space since it is an orphan node.
2. Parent has explicitly declared attributes xml:foo and xml:fool.
3. GrandChild inherts xml:foo from its Child ancestor.
4. GrandChild inherits xml:fool from its Parent ancestor.
5. GrandChild inherits xml:lang from its Child ancestor.
6. GrandChild has explicitly declared attribute xml:space.
-->

<!-- Result EC14N:
<Parent xml:foo="bar" xml:fool="barbar">
    <GrandChild xml:space="preserve"></GrandChild>
  </Parent>
-->

<!-- Annotation EC14N:
1. Only those attributes in the xml namespace are rendered, which are
   explicitely declared in the attribute axis of an element.
-->

<GrandParent xml:lang="en" xml:space="default">
  <Parent xml:foo="bar" xml:fool="barbar">
    <Child xml:foo="barbarossa" xml:lang="ge">
      <GrandChild xml:space="preserve"/>
    </Child>
  </Parent>
</GrandParent>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
java2ruby-xmldsig-0.2 lib/xml-security-1_4_5/data/ie/baltimore/merlin-examples/ec-merlin-iaikTests-two/iaikTests.example1.xml