Skip to content

Commit

Permalink
Merge pull request #695 from xml-project/change-test
Browse files Browse the repository at this point in the history
Change test
  • Loading branch information
xml-project authored May 5, 2024
2 parents 67692e4 + a4f221e commit b00e70e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions test-suite/tests/nw-set-attributes-002.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
<t:info>
<t:title>p:set-attributes-002 (NW)</t:title>
<t:revision-history>
<t:revision>
<t:date>2024-05-04</t:date>
<t:author>
<t:name>Achim Berndzen</t:name>
</t:author>
<t:description xmlns="http://www.w3.org/1999/xhtml">
<p>Changed Q{...} notation to call of function 'QName()'</p>
</t:description>
</t:revision>
<t:revision>
<t:date>2024-05-04</t:date>
<t:author>
Expand All @@ -22,8 +31,7 @@
<t:pipeline>
<p:declare-step version="3.0" xmlns:p="http://www.w3.org/ns/xproc">
<p:output port="result" />
<p:variable name="ns" select="'http://www.w3.org/2000/xmlns/'"/>
<p:set-attributes match="/doc" attributes="map { Q{http://www.w3.org/2000/xmlns/}x: '5' }">
<p:set-attributes match="/doc" attributes="map { QName('http://www.w3.org/2000/xmlns/','x'): '5' }">
<p:with-input>
<doc attribute="3">
Some text
Expand Down

0 comments on commit b00e70e

Please sign in to comment.