Skip to content

Commit 7dd22a2

Browse files
Merge pull request #245 from AlphaWallet/october-schema
change schema to october
2 parents 5a3872b + 55d3cf6 commit 7dd22a2

31 files changed

+205
-583
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 $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd $@.INVALID)
26+
-xmlstarlet val --xsd http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@ || (mv $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@.INVALID)
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 $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd $@.INVALID)
26+
-xmlstarlet val --xsd http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@ || (mv $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@.INVALID)
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<ts:token xmlns:ts="http://tokenscript.org/2019/05/tokenscript"
2+
<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/05/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 http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd $@ || (mv $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd $@.INVALID)
26+
-xmlstarlet val --xsd http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@ || (mv $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@.INVALID)
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 $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd $@.INVALID)
26+
-xmlstarlet val --xsd http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@ || (mv $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@.INVALID)
2727

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

examples/erc20/AlphaWallet-Discovery-Token/discover.en.shtml

Lines changed: 23 additions & 17 deletions
Large diffs are not rendered by default.

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 $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd $@.INVALID)
26+
-xmlstarlet val --xsd http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@ || (mv $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@.INVALID)
2727

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

examples/erc20/DeFi/Compound/cBAT.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<!ENTITY redeem.en SYSTEM "withdraw.en.shtml">
66
<!ENTITY enable.en SYSTEM "enable.en.shtml">
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
>
@@ -82,7 +82,7 @@
8282
<ts:string xml:lang="en">Amount to withdraw</ts:string>
8383
</ts:name>
8484
<ts:origins>
85-
<ts:user-entry as="uint"/>
85+
<ts:user-entry as="e8"/>
8686
</ts:origins>
8787
</ts:attribute-type>
8888
<ts:transaction>

examples/erc20/DeFi/Compound/cDAI.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<!ENTITY withdraw.en SYSTEM "withdraw.en.shtml">
66
<!ENTITY enable.en SYSTEM "enable.en.shtml">
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
>
@@ -82,7 +82,7 @@
8282
<ts:string xml:lang="en">Amount to withdraw</ts:string>
8383
</ts:name>
8484
<ts:origins>
85-
<ts:user-entry as="uint"/>
85+
<ts:user-entry as="e8"/>
8686
</ts:origins>
8787
</ts:attribute-type>
8888
<ts:transaction>

examples/erc20/DeFi/Compound/cETH.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<!ENTITY mint.en SYSTEM "supply.en.shtml">
55
<!ENTITY redeem.en SYSTEM "withdraw.en.shtml">
66
]>
7-
<ts:token xmlns:ts="http://tokenscript.org/2019/05/tokenscript"
7+
<ts:token xmlns:ts="http://tokenscript.org/2019/10/tokenscript"
88
xmlns="http://www.w3.org/1999/xhtml"
99
xmlns:xml="http://www.w3.org/XML/1998/namespace"
10-
xsi:schemaLocation="http://tokenscript.org/2019/05/tokenscript"
10+
xsi:schemaLocation="http://tokenscript.org/2019/10/tokenscript http://tokenscript.org/2019/10/tokenscript.xsd"
1111
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1212
custodian="false"
1313
>
@@ -62,7 +62,7 @@
6262
<ts:string xml:lang="en">Amount to withdraw</ts:string>
6363
</ts:name>
6464
<ts:origins>
65-
<ts:user-entry as="uint"/>
65+
<ts:user-entry as="e8"/>
6666
</ts:origins>
6767
</ts:attribute-type>
6868
<ts:transaction>

examples/erc20/DeFi/Compound/cREP.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<!ENTITY redeem.en SYSTEM "withdraw.en.shtml">
66
<!ENTITY enable.en SYSTEM "enable.en.shtml">
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
>
@@ -83,7 +83,7 @@
8383
<ts:string xml:lang="en">Amount to withdraw</ts:string>
8484
</ts:name>
8585
<ts:origins>
86-
<ts:user-entry as="uint"/>
86+
<ts:user-entry as="e8"/>
8787
</ts:origins>
8888
</ts:attribute-type>
8989
<ts:transaction>

examples/erc20/DeFi/Compound/cUSDC.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<!ENTITY redeem.en SYSTEM "withdraw.en.shtml">
66
<!ENTITY enable.en SYSTEM "enable.en.shtml">
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
>
@@ -82,7 +82,7 @@
8282
<ts:string xml:lang="en">Amount to withdraw</ts:string>
8383
</ts:name>
8484
<ts:origins>
85-
<ts:user-entry as="uint"/>
85+
<ts:user-entry as="e8"/>
8686
</ts:origins>
8787
</ts:attribute-type>
8888
<ts:transaction>

examples/erc20/DeFi/Compound/cWBTC.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<!ENTITY redeem.en SYSTEM "withdraw.en.shtml">
66
<!ENTITY enable.en SYSTEM "enable.en.shtml">
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
>
@@ -82,7 +82,7 @@
8282
<ts:string xml:lang="en">Amount to withdraw</ts:string>
8383
</ts:name>
8484
<ts:origins>
85-
<ts:user-entry as="uint"/>
85+
<ts:user-entry as="e8"/>
8686
</ts:origins>
8787
</ts:attribute-type>
8888
<ts:transaction>

examples/erc20/DeFi/Compound/cZRX.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<!ENTITY redeem.en SYSTEM "withdraw.en.shtml">
66
<!ENTITY enable.en SYSTEM "enable.en.shtml">
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
>
@@ -82,7 +82,7 @@
8282
<ts:string xml:lang="en">Amount to withdraw</ts:string>
8383
</ts:name>
8484
<ts:origins>
85-
<ts:user-entry as="uint"/>
85+
<ts:user-entry as="e8"/>
8686
</ts:origins>
8787
</ts:attribute-type>
8888
<ts:transaction>

examples/erc20/DeFi/Compound/withdraw.en.shtml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
<script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
2-
<script type="text/javascript">
3-
$(() => {
4-
window.onConfirm = () => {
5-
//Hacky fix for 2019/05 schemas
6-
var value = parseFloat($("#amt").val() * 1e+8);
7-
$("#redeemAmount").val(value);
8-
}
9-
});
10-
</script>
112
<script type="text/javascript"><![CDATA[
123
class Token {
134

@@ -56,8 +47,7 @@ class Token {
5647
</div>
5748
<div id="inputBox">
5849
<bold><h3>Withdraw ${this.props.name} for ${this.props.underlyingToken} from Compound</h3></bold>
59-
<span><input id="redeemAmount" type="hidden"></span>
60-
<span><input id="amt" type="number"></span>
50+
<span><input id="redeemAmount" type="number"></span>
6151
</div>
6252
</div>`;
6353
}

examples/erc20/DeFi/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 $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd $@.INVALID)
26+
-xmlstarlet val --xsd http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@ || (mv $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@.INVALID)
2727

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

examples/erc20/DeFi/iDAI/iDAI.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<!ENTITY withdraw.en SYSTEM "withdraw.en.shtml">
66
<!ENTITY enable.en SYSTEM "enable.en.shtml">
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/erc20/WETH/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 $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd $@.INVALID)
26+
-xmlstarlet val --xsd http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@ || (mv $@ $@.INVALID; xmllint --noout --schema http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@.INVALID)
2727

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

examples/erc20/WETH/WETH.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
<!ENTITY wrap.en SYSTEM "weth-wrap.en.shtml">
55
<!ENTITY unwrap.en SYSTEM "weth-unwrap.en.shtml">
66
]>
7-
<ts:token xmlns:ts="http://tokenscript.org/2019/05/tokenscript"
7+
<ts:token xmlns:ts="http://tokenscript.org/2019/10/tokenscript"
88
xmlns="http://www.w3.org/1999/xhtml"
99
xmlns:xml="http://www.w3.org/XML/1998/namespace"
10-
xsi:schemaLocation="http://tokenscript.org/2019/05/tokenscript"
10+
xsi:schemaLocation="http://tokenscript.org/2019/10/tokenscript http://tokenscript.org/2019/10/tokenscript.xsd"
1111
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1212
custodian="false"
1313
>

examples/fifa/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 failed, 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 $@ || (xmllint --noout --schema http://tokenscript.org/2019/05/tokenscript/tokenscript.xsd $@; rm $@)
26+
-xmlstarlet val --xsd http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@ || (xmllint --noout --schema http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd $@; rm $@)
2727

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

examples/fifa/fifa.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<!ENTITY fifa.en SYSTEM "fifa.en.shtml">
44
<!ENTITY style SYSTEM "shared.css">
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
>

resources/fast-token-onboarding/erc20.canonicalized.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ts:token xmlns="http://www.w3.org/1999/xhtml" xmlns:ts="http://tokenscript.org/2019/05/tokenscript" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" custodian="false" xsi:schemaLocation="http://tokenscript.org/2019/05/tokenscript">
1+
<ts:token xmlns="http://www.w3.org/1999/xhtml" xmlns:ts="http://tokenscript.org/2019/10/tokenscript" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" custodian="false" xsi:schemaLocation="http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd">
22
<ts:name>
33
<ts:plurals xml:lang="en"> <!-- other languages "es"=Spanish "zh"=Chinese ... -->
44
<ts:string quantity="one">Token</ts:string>

resources/fast-token-onboarding/erc721.canonicalized.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ts:token xmlns="http://www.w3.org/1999/xhtml" xmlns:ts="http://tokenscript.org/2019/05/tokenscript" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" custodian="false" xsi:schemaLocation="http://tokenscript.org/2019/05/tokenscript">
1+
<ts:token xmlns="http://www.w3.org/1999/xhtml" xmlns:ts="http://tokenscript.org/2019/10/tokenscript" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" custodian="false" xsi:schemaLocation="http://tokenscript.org/2019/10/tokenscript/tokenscript.xsd">
22
<ts:name>
33
<ts:plurals xml:lang="en"> <!-- other languages "es"=Spanish "zh"=Chinese ... -->
44
<ts:string quantity="one">Token</ts:string>

schema/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44

55
If you have a TokenScript file which includes an older version of the schema, you can refer to it with a link instead of referencing the file directly.
66

7-
Example: `http://tokenscript.org/2019/05/tokenscript` for the May version of the schema.
7+
Example: `http://tokenscript.org/2019/10/tokenscript` for the May version of the schema.

0 commit comments

Comments
 (0)