Skip to content

Commit d98f902

Browse files
committed
change all TokenScripts to match 2019/10
correctly reference tokenscript.xsd in schemaLocation
1 parent 32808e7 commit d98f902

File tree

28 files changed

+48
-58
lines changed

28 files changed

+48
-58
lines changed

examples/EntryToken/EntryToken.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<!ENTITY icon.en SYSTEM "icon.en.shtml">
66
<!ENTITY style SYSTEM "shared.css">
77
]>
8-
<ts:token xmlns:ts="http://tokenscript.org/2019/05/tokenscript"
8+
<ts:token xmlns:ts="http://tokenscript.org/2019/10/tokenscript"
99
xmlns="http://www.w3.org/1999/xhtml"
1010
xmlns:xml="http://www.w3.org/XML/1998/namespace"
11-
xsi:schemaLocation="http://tokenscript.org/2019/05/tokenscript"
11+
xsi:schemaLocation="http://tokenscript.org/2019/10/tokenscript http://tokenscript.org/2019/10/tokenscript.xsd"
1212
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1313
custodian="false"
1414
>

examples/EntryToken/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ help:
2323
# XML Validation
2424
# if INVALID, run validation again with xmllint to get meaningful error
2525
# then delete the canonicalized file
26-
-xmlstarlet val --xsd http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd $@ || (mv $@ [email protected]; xmllint --noout --schema http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd [email protected])
26+
-xmlstarlet val --xsd http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@ || (mv $@ [email protected]; xmllint --noout --schema http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd [email protected])
2727

2828
%.tsml: %.canonicalized.xml
2929
ifeq (,$(KEYSTORE))

examples/action/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ help:
2323
# XML Validation
2424
# if INVALID, run validation again with xmllint to get meaningful error
2525
# then delete the canonicalized file
26-
-xmlstarlet val --xsd http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd $@ || (mv $@ [email protected]; xmllint --noout --schema http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd [email protected])
26+
-xmlstarlet val --xsd http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@ || (mv $@ [email protected]; xmllint --noout --schema http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd [email protected])
2727

2828
%.tsml: %.canonicalized.xml
2929
ifeq (,$(KEYSTORE))

examples/action/XDAI-bridge.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!ENTITY style SYSTEM "shared.css">
44
<!ENTITY xdai-bridge.en SYSTEM "xdai-bridge.en.shtml">
55
]>
6-
<ts:action xmlns:ts="http://tokenscript.org/2019/05/tokenscript"
6+
<ts:action xmlns:ts="http://tokenscript.org/2019/10/tokenscript"
77
xmlns="http://www.w3.org/1999/xhtml"
88
xmlns:xml="http://www.w3.org/XML/1998/namespace"
99
>

examples/devcon5-nft/Devcon.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<ts:token xmlns:ts="http://tokenscript.org/2019/10/tokenscript"
33
xmlns="http://www.w3.org/1999/xhtml"
44
xmlns:xml="http://www.w3.org/XML/1998/namespace"
5-
xsi:schemaLocation="http://tokenscript.org/2019/10/tokenscript"
5+
xsi:schemaLocation="http://tokenscript.org/2019/10/tokenscript http://tokenscript.org/2019/10/tokenscript.xsd"
66
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
77
custodian="false"
88
>

examples/devcon5-nft/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ help:
2323
# XML Validation
2424
# if INVALID, run validation again with xmllint to get meaningful error
2525
# then delete the canonicalized file
26-
-xmlstarlet val --xsd ../../schema/tokenscript.xsd $@ || (mv $@ [email protected]; xmllint --noout --schema ../../schema/tokenscript.xsd [email protected])
26+
-xmlstarlet val --xsd http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@ || (mv $@ [email protected]; xmllint --noout --schema http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd [email protected])
2727

2828
%.tsml: %.canonicalized.xml
2929
ifeq (,$(KEYSTORE))

examples/erc20/AlphaWallet-Discovery-Token/ALP.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<!ENTITY style SYSTEM "shared.css">
44
<!ENTITY discover.en SYSTEM "discover.en.shtml">
55
]>
6-
<ts:token xmlns:ts="http://tokenscript.org/2019/05/tokenscript"
6+
<ts:token xmlns:ts="http://tokenscript.org/2019/10/tokenscript"
77
xmlns="http://www.w3.org/1999/xhtml"
88
xmlns:xml="http://www.w3.org/XML/1998/namespace"
9-
xsi:schemaLocation="http://tokenscript.org/2019/05/tokenscript"
9+
xsi:schemaLocation="http://tokenscript.org/2019/10/tokenscript http://tokenscript.org/2019/10/tokenscript.xsd"
1010
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1111
custodian="false"
1212
>

examples/erc20/AlphaWallet-Discovery-Token/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ help:
2323
# XML Validation
2424
# if INVALID, run validation again with xmllint to get meaningful error
2525
# then delete the canonicalized file
26-
-xmlstarlet val --xsd http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd $@ || (mv $@ [email protected]; xmllint --noout --schema http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd [email protected])
26+
-xmlstarlet val --xsd http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@ || (mv $@ [email protected]; xmllint --noout --schema http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd [email protected])
2727

2828
%.tsml: %.canonicalized.xml
2929
ifeq (,$(KEYSTORE))

examples/erc20/DAI/DAI.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<!ENTITY style SYSTEM "shared.css">
44
<!ENTITY dai-bridge.en SYSTEM "dai-bridge.en.shtml">
55
]>
6-
<ts:token xmlns:ts="http://tokenscript.org/2019/05/tokenscript"
6+
<ts:token xmlns:ts="http://tokenscript.org/2019/10/tokenscript"
77
xmlns="http://www.w3.org/1999/xhtml"
88
xmlns:xml="http://www.w3.org/XML/1998/namespace"
9-
xsi:schemaLocation="http://tokenscript.org/2019/05/tokenscript"
9+
xsi:schemaLocation="http://tokenscript.org/2019/10/tokenscript http://tokenscript.org/2019/10/tokenscript.xsd"
1010
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1111
custodian="false"
1212
>

examples/erc20/DAI/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ help:
2323
# XML Validation
2424
# if INVALID, run validation again with xmllint to get meaningful error
2525
# then delete the canonicalized file
26-
-xmlstarlet val --xsd http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd $@ || (mv $@ [email protected]; xmllint --noout --schema http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd [email protected])
26+
-xmlstarlet val --xsd http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@ || (mv $@ [email protected]; xmllint --noout --schema http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd [email protected])
2727

2828
%.tsml: %.canonicalized.xml
2929
ifeq (,$(KEYSTORE))

0 commit comments

Comments
 (0)