You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(174) |
Nov
(85) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(56) |
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
(1) |
Jul
(132) |
Aug
(5) |
Sep
|
Oct
(314) |
Nov
(133) |
Dec
(18) |
2006 |
Jan
(6) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Oleg T. <he...@us...> - 2005-10-16 20:13:21
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/results/EXSLT/Common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/results/EXSLT/Common Added Files: node-set.xml object-type.xml Log Message: --- NEW FILE: object-type.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: node-set.xml --- (This appears to be a binary file; contents omitted.) |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:21
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/tests/GotDotNet/Dynamic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/tests/GotDotNet/Dynamic Added Files: evaluate.xslt source.xml Log Message: --- NEW FILE: evaluate.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dyn2="http://gotdotnet.com/exslt/dynamic" exclude-result-prefixes="dyn2"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:value-of select="dyn2:evaluate(., concat('2', '+', '2'))"/> </test1> <test2> <xsl:copy-of select="dyn2:evaluate(., /data/path)"/> </test2> <test3> <xsl:value-of select="dyn2:evaluate(., /data/path)/@id"/> </test3> <test4> <xsl:copy-of select="dyn2:evaluate(., /data/path2)"/> </test4> <test5> <xsl:value-of select="dyn2:evaluate(/no/such/node, /data/path2)"/> </test5> <test6> <xsl:copy-of select="dyn2:evaluate(., '')"/> </test6> <test7> <xsl:copy-of select="dyn2:evaluate(., /data/path3)"/> </test7> <test8> <xsl:copy-of select="dyn2:evaluate(., 'dyn2:evaluate(., str:concat(path4|path5|path6))')"/> </test8> <test9> <xsl:copy-of select="dyn2:evaluate(., 'orders/order[last()]')"/> </test9> <test10> <xsl:variable name="namespaces">xmlns:foo="http://orders.com" xmlns:bar='http://bar.com/'</xsl:variable> <xsl:copy-of select="dyn2:evaluate(., /data/path7, $namespaces)"/> </test10> <test11> <xsl:copy-of select="dyn2:evaluate(., /data/path7, '')"/> </test11> <test12> <xsl:variable name="namespaces"> xmlns:bar='http://bar.com/" xmlns:foo = "http://orders.com" </xsl:variable> <xsl:copy-of select="dyn2:evaluate(., /data/path7, $namespaces)"/> </test12> <test13> <xsl:copy-of select="dyn2:evaluate(., 'current()')"/> </test13> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: source.xml --- <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="evaluate.xslt"?> <data xmlns:o="http://orders.com"> <orders> <order id="o234">T-Shirt</order> <order id="o12">Polo Shirt</order> <order id="o332">Shoes</order> </orders> <orders xmlns="http://orders.com"> <order id="o11">Foo</order> <order id="o22">Bar</order> <order id="o44">Baz</order> </orders> <path>/data/orders/order[@id='o12']</path> <path2>orders/order[@id='o12']</path2> <path3>o:orders/o:order[@id='o44']</path3> <path4>/data</path4> <path5>/orders/order</path5> <path6>[@id='o332']</path6> <path7>foo:orders/foo:order[@id='o11']</path7> </data> |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:21
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/tests/EXSLT/Math In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/tests/EXSLT/Math Added Files: abs.xslt acos.xslt asin.xslt atan.xslt atan2.xslt constant.xslt cos.xslt exp.xslt highest.xslt log.xslt lowest.xslt max.xslt min.xslt power.xslt random.xslt sin.xslt source.xml sqrt.xslt tan.xslt Log Message: --- NEW FILE: atan.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:value-of select="math:atan(0.5)"/> </test1> <test2> <xsl:value-of select="math:atan(-0.9)"/> </test2> <test3> <xsl:value-of select="math:atan(/data/bad-data)"/> </test3> <test4> <xsl:value-of select="math:atan(22 div 0)"/> </test4> <test5> <xsl:value-of select="math:atan(-22 div 0)"/> </test5> <test6> <xsl:value-of select="math:atan(0)"/> </test6> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: asin.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:value-of select="math:asin(0.5)"/> </test1> <test2> <xsl:value-of select="math:asin(-0.9)"/> </test2> <test3> <xsl:value-of select="math:asin(/data/bad-data)"/> </test3> <test4> <xsl:value-of select="math:asin(22 div 0)"/> </test4> <test5> <xsl:value-of select="math:asin(-22 div 0)"/> </test5> <test6> <xsl:value-of select="math:asin(0)"/> </test6> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: lowest.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> lowest orders: <xsl:copy-of select="math:lowest(/data/orders/order)"/> </test1> <test2> lowest orders: <xsl:copy-of select="math:lowest(/no/such/nodes)"/> </test2> <test3> lowest orders: <xsl:copy-of select="math:lowest(/data/bad-data)"/> </test3> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: highest.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> Max orders: <xsl:copy-of select="math:highest(/data/orders/order)"/> </test1> <test2> Max orders: <xsl:copy-of select="math:highest(/no/such/nodes)"/> </test2> <test3> Max orders: <xsl:copy-of select="math:highest(/data/bad-data)"/> </test3> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: log.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:value-of select="math:log(-22.9)"/> </test1> <test2> <xsl:value-of select="math:log(22.9)"/> </test2> <test3> <xsl:value-of select="math:log(/data/bad-data)"/> </test3> <test4> <xsl:value-of select="math:log(22 div 0)"/> </test4> <test5> <xsl:value-of select="math:log(-22 div 0)"/> </test5> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: atan2.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:value-of select="math:atan2(0.5, 0.7)"/> </test1> <test2> <xsl:value-of select="math:atan2(-0.9, -0.4)"/> </test2> <test3> <xsl:value-of select="math:atan2(/data/bad-data, 4)"/> </test3> <test4> <xsl:value-of select="math:atan2(22 div 0, 3)"/> </test4> <test5> <xsl:value-of select="math:atan2(-22 div 0, 2)"/> </test5> <test6> <xsl:value-of select="math:atan2(0, 0)"/> </test6> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: power.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:value-of select="math:power(3, 2)"/> </test1> <test2> <xsl:value-of select="math:power(-22.9, 3.5)"/> </test2> <test3> <xsl:value-of select="math:power(/data/bad-data, /data/bad-data)"/> </test3> <test4> <xsl:value-of select="math:power(22 div 0, 3)"/> </test4> <test5> <xsl:value-of select="math:power(334, -22 div 0)"/> </test5> <test6> <xsl:value-of select="math:power(2, -2)"/> </test6> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: sin.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:value-of select="math:sin(360)"/> </test1> <test2> <xsl:value-of select="math:sin(-22.9)"/> </test2> <test3> <xsl:value-of select="math:sin(/data/bad-data)"/> </test3> <test4> <xsl:value-of select="math:sin(22 div 0)"/> </test4> <test5> <xsl:value-of select="math:sin(-22 div 0)"/> </test5> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: exp.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:value-of select="math:exp(30)"/> </test1> <test2> <xsl:value-of select="math:exp(-22)"/> </test2> <test3> <xsl:value-of select="math:exp(/data/bad-data)"/> </test3> <test4> <xsl:value-of select="math:exp(22 div 0)"/> </test4> <test5> <xsl:value-of select="math:exp(-22 div 0)"/> </test5> <test6> <xsl:value-of select="math:exp(2.5)"/> </test6> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: source.xml --- <?xml version="1.0" encoding="utf-8" ?> <?xml-stylesheet type="text/xsl" href="acos.xslt"?> <data> <orders> <order>100</order> <order>1.99</order> <order>12.99</order> <order>59.99</order> <order>2.99</order> <order>1.99</order> <order>999.99</order> <order>123.45</order> <order>999.99</order> </orders> <bad-data>23.99]</bad-data> <bad-data>22.99</bad-data> </data> --- NEW FILE: cos.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:value-of select="math:cos(360)"/> </test1> <test2> <xsl:value-of select="math:cos(-22.9)"/> </test2> <test3> <xsl:value-of select="math:cos(/data/bad-data)"/> </test3> <test4> <xsl:value-of select="math:cos(22 div 0)"/> </test4> <test5> <xsl:value-of select="math:cos(-22 div 0)"/> </test5> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: tan.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:value-of select="math:tan(360)"/> </test1> <test2> <xsl:value-of select="math:tan(-22.9)"/> </test2> <test3> <xsl:value-of select="math:tan(/data/bad-data)"/> </test3> <test4> <xsl:value-of select="math:tan(22 div 0)"/> </test4> <test5> <xsl:value-of select="math:tan(-22 div 0)"/> </test5> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: min.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> Minimal order: <xsl:value-of select="math:min(/data/orders/order)"/> </test1> <test2> Minimal order: <xsl:value-of select="math:min(/no/such/nodes)"/> </test2> <test3> Minimal order: <xsl:value-of select="math:min(/data/bad-data)"/> </test3> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: acos.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:value-of select="math:acos(0.5)"/> </test1> <test2> <xsl:value-of select="math:acos(-0.9)"/> </test2> <test3> <xsl:value-of select="math:acos(/data/bad-data)"/> </test3> <test4> <xsl:value-of select="math:acos(22 div 0)"/> </test4> <test5> <xsl:value-of select="math:acos(-22 div 0)"/> </test5> <test6> <xsl:value-of select="math:acos(0)"/> </test6> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: random.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:variable name="rnd" select="math:random()"/> <xsl:value-of select="$rnd >= 0 and $rnd <= 1"/> </test1> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: sqrt.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:value-of select="math:sqrt(9)"/> </test1> <test2> <xsl:value-of select="math:sqrt(-22.9)"/> </test2> <test3> <xsl:value-of select="math:sqrt(/data/bad-data)"/> </test3> <test4> <xsl:value-of select="math:sqrt(22 div 0)"/> </test4> <test5> <xsl:value-of select="math:sqrt(-22 div 0)"/> </test5> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: max.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> Max order: <xsl:value-of select="math:max(/data/orders/order)"/> </test1> <test2> Max order: <xsl:value-of select="math:max(/no/such/nodes)"/> </test2> <test3> Max order: <xsl:value-of select="math:max(/data/bad-data)"/> </test3> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: constant.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:value-of select="math:constant('PI', 10)"/> </test1> <test2> <xsl:value-of select="math:constant('E', 100)"/> </test2> <test3> <xsl:value-of select="math:constant('SQRRT2', 10)"/> </test3> <test4> <xsl:value-of select="math:constant('LN2', 3)"/> </test4> <test5> <xsl:value-of select="math:constant('LN10', 3)"/> </test5> <test6> <xsl:value-of select="math:constant('LOG2E', 4)"/> </test6> <test7> <xsl:value-of select="math:constant('SQRT1_2', 5)"/> </test7> <test8> <xsl:value-of select="math:constant('PI', -1)"/> </test8> <test9> <xsl:value-of select="math:constant('PI', 22 div 0)"/> </test9> <test10> <xsl:value-of select="math:constant('PI', -22 div 0)"/> </test10> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: abs.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:math="http://exslt.org/math" exclude-result-prefixes="math"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:value-of select="math:abs(-22.9)"/> </test1> <test2> <xsl:value-of select="math:abs(22.9)"/> </test2> <test3> <xsl:value-of select="math:abs(/data/bad-data)"/> </test3> <test4> <xsl:value-of select="math:abs(22 div 0)"/> </test4> <test5> <xsl:value-of select="math:abs(-22 div 0)"/> </test5> </out> </xsl:template> </xsl:stylesheet> |
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest Added Files: .cvsignore AssemblyInfo.cs AvailabilityTest.cmd ExsltCommonTests.cs ExsltDatesAndTimesTests.cs ExsltMathTests.cs ExsltRandomTests.cs ExsltRegularExpressionsTests.cs ExsltSetsTests.cs ExsltStringsTests.cs ExsltTest.cs ExsltTest.csproj ExsltUnitTests.cs FunctionsAvailability.html GDNDatesAndTimesTests.cs GDNDynamicTests.cs GDNMathTests.cs GDNRegularExpressionsTests.cs GDNSetsTests.cs GDNStringsTests.cs Log Message: --- NEW FILE: .cvsignore --- bin obj *.user *.suo *.exe *.dll *.pdb *.vspscc --- NEW FILE: FunctionsAvailability.html --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ExsltSetsTests.cs --- using System; using NUnit.Framework; namespace ExsltTest { /// <summary> /// Collection of unit tests for EXSLT Sets module functions. /// </summary> [TestFixture] public class ExsltSetsTests : ExsltUnitTests { protected override string TestDir { get { return "tests/EXSLT/Sets/"; } } protected override string ResultsDir { get { return "results/EXSLT/Sets/"; } } /// <summary> /// Tests the following function: /// set:difference() /// </summary> [Test] public void DifferenceTest() { RunAndCompare("source.xml", "difference.xslt", "difference.xml"); } /// <summary> /// Tests the following function: /// set:intersection() /// </summary> [Test] public void IntersectionTest() { RunAndCompare("source.xml", "intersection.xslt", "intersection.xml"); } /// <summary> /// Tests the following function: /// set:distinct() /// </summary> [Test] public void DistinctTest() { RunAndCompare("source.xml", "distinct.xslt", "distinct.xml"); } /// <summary> /// Tests the following function: /// set:has-same-node() /// </summary> [Test] public void HasSameNodeTest() { RunAndCompare("source.xml", "has-same-node.xslt", "has-same-node.xml"); } /// <summary> /// Tests the following function: /// set:leading() /// </summary> [Test] public void LeadingTest() { RunAndCompare("source.xml", "leading.xslt", "leading.xml"); } /// <summary> /// Tests the following function: /// set:trailing() /// </summary> [Test] public void TrailingTest() { RunAndCompare("source.xml", "trailing.xslt", "trailing.xml"); } } } --- NEW FILE: ExsltRegularExpressionsTests.cs --- using System; using NUnit.Framework; namespace ExsltTest { /// <summary> /// Collection of unit tests for EXSLT RegularExpressions module functions. /// </summary> [TestFixture] public class ExsltRegularExpressionsTests : ExsltUnitTests { protected override string TestDir { get { return "tests/EXSLT/RegularExpressions/"; } } protected override string ResultsDir { get { return "results/EXSLT/RegularExpressions/"; } } /// <summary> /// Tests the following function: /// regexp:test() /// </summary> [Test] public void TestTest() { RunAndCompare("source.xml", "test.xslt", "test.xml"); } /// <summary> /// Tests the following function: /// regexp:match() /// </summary> [Test] public void MatchTest() { RunAndCompare("source.xml", "match.xslt", "match.xml"); } /// <summary> /// Tests the following function: /// regexp:replace() /// </summary> [Test] public void ReplaceTest() { RunAndCompare("source.xml", "replace.xslt", "replace.xml"); } } } --- NEW FILE: ExsltStringsTests.cs --- using System; using NUnit.Framework; namespace ExsltTest { /// <summary> /// Collection of unit tests for EXSLT Strings module functions. /// </summary> [TestFixture] public class ExsltStringsTests : ExsltUnitTests { protected override string TestDir { get { return "tests/EXSLT/Strings/"; } } protected override string ResultsDir { get { return "results/EXSLT/Strings/"; } } /// <summary> /// Tests the following function: /// str:tokenize() /// </summary> [Test] public void TokenizeTest() { RunAndCompare("source.xml", "tokenize.xslt", "tokenize.xml"); } /// <summary> /// Tests the following function: /// str:replace() /// </summary> [Test] public void ReplaceTest() { RunAndCompare("source.xml", "replace.xslt", "replace.xml"); } /// <summary> /// Tests the following function: /// str:padding() /// </summary> [Test] public void PaddingTest() { RunAndCompare("source.xml", "padding.xslt", "padding.xml"); } /// <summary> /// Tests the following function: /// str:align() /// </summary> [Test] public void AlignTest() { RunAndCompare("source.xml", "align.xslt", "align.xml"); } /// <summary> /// Tests the following function: /// str:encode-uri() /// </summary> [Test] public void EncodeUriTest() { RunAndCompare("source.xml", "encode-uri.xslt", "encode-uri.xml"); } /// <summary> /// Tests the following function: /// str:decode-uri() /// </summary> [Test] public void DecodeUriTest() { RunAndCompare("source.xml", "decode-uri.xslt", "decode-uri.xml"); } /// <summary> /// Tests the following function: /// str:concat() /// </summary> [Test] public void ConcatTest() { RunAndCompare("source.xml", "concat.xslt", "concat.xml"); } /// <summary> /// Tests the following function: /// str:split() /// </summary> [Test] public void SplitTest() { RunAndCompare("source.xml", "split.xslt", "split.xml"); } } } --- NEW FILE: GDNDatesAndTimesTests.cs --- using System; using NUnit.Framework; namespace ExsltTest { /// <summary> /// Collection of unit tests for GotDotNet Dates and Times module functions. /// </summary> [TestFixture] public class GDNDatesAndTimesTests : ExsltUnitTests { protected override string TestDir { get { return "tests/GotDotNet/DatesAndTimes/"; } } protected override string ResultsDir { get { return "results/GotDotNet/DatesAndTimes/"; } } /// <summary> /// Tests the following function: /// date2:avg() /// </summary> [Test] public void AvgTest() { RunAndCompare("source.xml", "avg.xslt", "avg.xml"); } /// <summary> /// Tests the following function: /// date2:min() /// </summary> [Test] public void MinTest() { RunAndCompare("source.xml", "min.xslt", "min.xml"); } /// <summary> /// Tests the following function: /// date2:max() /// </summary> [Test] public void MaxTest() { RunAndCompare("source.xml", "max.xslt", "max.xml"); } /// <summary> /// Tests the following function: /// date2:day-name() /// </summary> [Test] public void DayNameTest() { RunAndCompare("source.xml", "day-name.xslt", "day-name.xml"); } /// <summary> /// Tests the following function: /// date2:day-abbreviation() /// </summary> [Test] public void DayAbbreviationTest() { RunAndCompare("source.xml", "day-abbreviation.xslt", "day-abbreviation.xml"); } /// <summary> /// Tests the following function: /// date2:month-name() /// </summary> [Test] public void MonthNameTest() { RunAndCompare("source.xml", "month-name.xslt", "month-name.xml"); } /// <summary> /// Tests the following function: /// date2:month-abbreviation() /// </summary> [Test] public void MonthAbbreviationTest() { RunAndCompare("source.xml", "month-abbreviation.xslt", "month-abbreviation.xml"); } } } --- NEW FILE: GDNDynamicTests.cs --- using System; using NUnit.Framework; namespace ExsltTest { /// <summary> /// Collection of unit tests for GotDotNet Dynamic module functions. /// </summary> [TestFixture] public class GDNDynamicTests : ExsltUnitTests { protected override string TestDir { get { return "tests/GotDotNet/Dynamic/"; } } protected override string ResultsDir { get { return "results/GotDotNet/Dynamic/"; } } /// <summary> /// Tests the following function: /// dyn2:evaluate() /// </summary> [Test] public void EvaluateTest() { RunAndCompare("source.xml", "evaluate.xslt", "evaluate.xml"); } } } --- NEW FILE: GDNMathTests.cs --- using System; using NUnit.Framework; namespace ExsltTest { /// <summary> /// Collection of unit tests for GotDotNet Math module functions. /// </summary> [TestFixture] public class GDNMathTests : ExsltUnitTests { protected override string TestDir { get { return "tests/GotDotNet/Math/"; } } protected override string ResultsDir { get { return "results/GotDotNet/Math/"; } } /// <summary> /// Tests the following function: /// math2:avg() /// </summary> [Test] public void AvgTest() { RunAndCompare("source.xml", "avg.xslt", "avg.xml"); } } } --- NEW FILE: GDNStringsTests.cs --- using System; using NUnit.Framework; namespace ExsltTest { /// <summary> /// Collection of unit tests for GotDotNet Strings module functions. /// </summary> [TestFixture] public class GDNStringsTests : ExsltUnitTests { protected override string TestDir { get { return "tests/GotDotNet/Strings/"; } } protected override string ResultsDir { get { return "results/GotDotNet/Strings/"; } } /// <summary> /// Tests the following function: /// str2:lowercase() /// </summary> [Test] public void LowercaseTest() { RunAndCompare("source.xml", "lowercase.xslt", "lowercase.xml"); } /// <summary> /// Tests the following function: /// str2:uppercase() /// </summary> [Test] public void UppercaseTest() { RunAndCompare("source.xml", "uppercase.xslt", "uppercase.xml"); } } } --- NEW FILE: AvailabilityTest.cmd --- ExsltTest tests\test.xml tests\availability.xslt FunctionsAvailability.html --- NEW FILE: ExsltUnitTests.cs --- using System; using Mvp.Xml.Exslt; using System.Xml; using System.Xml.XPath; using System.IO; using NUnit.Framework; namespace ExsltTest { /// <summary> /// Superclass for unit tests. /// </summary> public class ExsltUnitTests { protected virtual string TestDir { get { return "tests/EXSLT/Common/"; } } protected virtual string ResultsDir { get { return "results/EXSLT/Common/"; } } protected void RunAndCompare(string source, string stylesheet, string result) { XPathDocument doc = new XPathDocument(TestDir + source); ExsltTransform exslt = new ExsltTransform(); exslt.Load(TestDir + stylesheet); StringWriter res = new StringWriter(); exslt.Transform(doc, null, res); StreamReader sr = new StreamReader(ResultsDir + result); string expectedResult = sr.ReadToEnd(); sr.Close(); if (res.ToString() != expectedResult) { Console.WriteLine("Actual Result was {0}", res.ToString()); Console.WriteLine("Expected Result was {0}", expectedResult); } Assert.IsTrue(res.ToString() == expectedResult); } } } --- NEW FILE: ExsltTest.cs --- using System; using Mvp.Xml.Exslt; using System.Xml; using System.Xml.XPath; using System.IO; namespace ExsltTest { /// <summary> /// Primitive command-line EXSLT-aware utility. /// </summary> public class ExsltTest { public static void Main(string[] args) { if (args.Length != 3) { PrintUsage(); return; } try { XPathDocument doc = new XPathDocument(args[0]); ExsltTransform xslt = new ExsltTransform(); xslt.Load(args[1]); xslt.MultiOutput = false; using (FileStream fs = File.Create(args[2])) { xslt.Transform(doc, null, fs); } } catch (Exception e) { Console.Error.WriteLine("An exception occured: "); Console.Error.WriteLine(e); } } private static void PrintUsage() { Console.WriteLine("ExsltTest usage:"); Console.WriteLine("ExsltTest.exe source stylesheet result"); } } } --- NEW FILE: GDNRegularExpressionsTests.cs --- using System; using NUnit.Framework; namespace ExsltTest { /// <summary> /// Collection of unit tests for GotDotNet RegularExpressions module functions. /// </summary> [TestFixture] public class GDNRegularExpressionsTests : ExsltUnitTests { protected override string TestDir { get { return "tests/GotDotNet/RegularExpressions/"; } } protected override string ResultsDir { get { return "results/GotDotNet/RegularExpressions/"; } } /// <summary> /// Tests the following function: /// regexp2:tokenize() /// </summary> [Test] public void TokenizeTest() { RunAndCompare("source.xml", "tokenize.xslt", "tokenize.xml"); } } } --- NEW FILE: ExsltRandomTests.cs --- using System; using NUnit.Framework; namespace ExsltTest { /// <summary> /// Collection of unit tests for EXSLT Random module functions. /// </summary> [TestFixture] public class ExsltRandomTests : ExsltUnitTests { protected override string TestDir { get { return "tests/EXSLT/Random/"; } } protected override string ResultsDir { get { return "results/EXSLT/Random/"; } } /// <summary> /// Tests the following function: /// random:random-sequence() /// </summary> [Test] public void RandomSequenceTest() { RunAndCompare("source.xml", "random-sequence.xslt", "random-sequence.xml"); } } } --- NEW FILE: ExsltDatesAndTimesTests.cs --- using System; using NUnit.Framework; namespace ExsltTest { /// <summary> /// Collection of unit tests for EXSLT Dates and Times module functions. /// </summary> [TestFixture] public class ExsltDatesAndTimesTests : ExsltUnitTests { protected override string TestDir { get { return "tests/EXSLT/DatesAndTimes/"; } } protected override string ResultsDir { get { return "results/EXSLT/DatesAndTimes/"; } } /// <summary> /// Tests the following function: /// date:format-date() /// </summary> [Test] public void FormatDateTest() { RunAndCompare("source.xml", "format-date.xslt", "format-date.xml"); } /// <summary> /// Tests the following function: /// date:parse-date() /// </summary> [Test] public void ParseDateTest() { RunAndCompare("source.xml", "parse-date.xslt", "parse-date.xml"); } /// <summary> /// Tests the following function: /// date:date-time() /// </summary> [Test] public void DateTimeTest() { RunAndCompare("source.xml", "date-time.xslt", "date-time.xml"); } /// <summary> /// Tests the following function: /// date:date() /// </summary> [Test] public void DateTest() { RunAndCompare("source.xml", "date.xslt", "date.xml"); } /// <summary> /// Tests the following function: /// date:time() /// </summary> [Test] public void TimeTest() { RunAndCompare("source.xml", "time.xslt", "time.xml"); } /// <summary> /// Tests the following function: /// date:year() /// </summary> [Test] public void YearTest() { RunAndCompare("source.xml", "year.xslt", "year.xml"); } /// <summary> /// Tests the following function: /// date:leap-year() /// </summary> [Test] public void LeapYearTest() { RunAndCompare("source.xml", "leap-year.xslt", "leap-year.xml"); } /// <summary> /// Tests the following function: /// date:month-in-year() /// </summary> [Test] public void MonthInYearTest() { RunAndCompare("source.xml", "month-in-year.xslt", "month-in-year.xml"); } /// <summary> /// Tests the following function: /// date:month-name() /// </summary> [Test] public void MonthNameTest() { RunAndCompare("source.xml", "month-name.xslt", "month-name.xml"); } /// <summary> /// Tests the following function: /// date:month-abbreviation() /// </summary> [Test] public void MonthAbbreviationTest() { RunAndCompare("source.xml", "month-abbreviation.xslt", "month-abbreviation.xml"); } /// <summary> /// Tests the following function: /// date:week-in-year() /// </summary> [Test] public void WeekInYearTest() { RunAndCompare("source.xml", "week-in-year.xslt", "week-in-year.xml"); } /// <summary> /// Tests the following function: /// date:week-in-month() /// </summary> [Test] public void WeekInMonthTest() { RunAndCompare("source.xml", "week-in-month.xslt", "week-in-month.xml"); } /// <summary> /// Tests the following function: /// date:day-in-year() /// </summary> [Test] public void DayInYearTest() { RunAndCompare("source.xml", "day-in-year.xslt", "day-in-year.xml"); } /// <summary> /// Tests the following function: /// date:day-in-month() /// </summary> [Test] public void DayInMonthTest() { RunAndCompare("source.xml", "day-in-month.xslt", "day-in-month.xml"); } /// <summary> /// Tests the following function: /// date:week-of-week-in-month() /// </summary> [Test] public void DayOfWeekInMonthTest() { RunAndCompare("source.xml", "day-of-week-in-month.xslt", "day-of-week-in-month.xml"); } /// <summary> /// Tests the following function: /// date:day-in-week() /// </summary> [Test] public void DayInWeekTest() { RunAndCompare("source.xml", "day-in-week.xslt", "day-in-week.xml"); } /// <summary> /// Tests the following function: /// date:day-name() /// </summary> [Test] public void DayNameTest() { RunAndCompare("source.xml", "day-name.xslt", "day-name.xml"); } /// <summary> /// Tests the following function: /// date:day-abbreviation() /// </summary> [Test] public void DayAbbreviationTest() { RunAndCompare("source.xml", "day-abbreviation.xslt", "day-abbreviation.xml"); } /// <summary> /// Tests the following function: /// date:hour-in-day() /// </summary> [Test] public void HourInDayTest() { RunAndCompare("source.xml", "hour-in-day.xslt", "hour-in-day.xml"); } /// <summary> /// Tests the following function: /// date:minute-in-hour() /// </summary> [Test] public void MinuteInHourTest() { RunAndCompare("source.xml", "minute-in-hour.xslt", "minute-in-hour.xml"); } /// <summary> /// Tests the following function: /// date:second-in-minute() /// </summary> [Test] public void SecondInMinuteTest() { RunAndCompare("source.xml", "second-in-minute.xslt", "second-in-minute.xml"); } /// <summary> /// Tests the following function: /// date:difference() /// </summary> [Test] public void DifferenceTest() { RunAndCompare("source.xml", "difference.xslt", "difference.xml"); } /// <summary> /// Tests the following function: /// date:add() /// </summary> [Test] public void AddTest() { RunAndCompare("source.xml", "add.xslt", "add.xml"); } /// <summary> /// Tests the following function: /// date:add-duration() /// </summary> [Test] public void AddDurationTest() { RunAndCompare("source.xml", "add-duration.xslt", "add-duration.xml"); } /// <summary> /// Tests the following function: /// date:sum() /// </summary> [Test] public void SumTest() { RunAndCompare("source.xml", "sum.xslt", "sum.xml"); } /// <summary> /// Tests the following function: /// date:seconds() /// </summary> [Test] public void SecondsTest() { RunAndCompare("source.xml", "seconds.xslt", "seconds.xml"); } /// <summary> /// Tests the following function: /// date:duration() /// </summary> [Test] public void DurationTest() { RunAndCompare("source.xml", "duration.xslt", "duration.xml"); } } } --- NEW FILE: GDNSetsTests.cs --- using System; using NUnit.Framework; namespace ExsltTest { /// <summary> /// Collection of unit tests for GotDotNet Sets module functions. /// </summary> [TestFixture] public class GDNSetsTests : ExsltUnitTests { protected override string TestDir { get { return "tests/GotDotNet/Sets/"; } } protected override string ResultsDir { get { return "results/GotDotNet/Sets/"; } } /// <summary> /// Tests the following function: /// set2:subset() /// </summary> [Test] public void SubsetTest() { RunAndCompare("source.xml", "subset.xslt", "subset.xml"); } } } --- NEW FILE: ExsltMathTests.cs --- using System; using NUnit.Framework; namespace ExsltTest { /// <summary> /// Collection of unit tests for EXSLT Math module functions. /// </summary> [TestFixture] public class ExsltMathTests : ExsltUnitTests { protected override string TestDir { get { return "tests/EXSLT/Math/"; } } protected override string ResultsDir { get { return "results/EXSLT/Math/"; } } /// <summary> /// Tests the following function: /// math:min() /// </summary> [Test] public void MinTest() { RunAndCompare("source.xml", "min.xslt", "min.xml"); } /// <summary> /// Tests the following function: /// math:max() /// </summary> [Test] public void MaxTest() { RunAndCompare("source.xml", "max.xslt", "max.xml"); } /// <summary> /// Tests the following function: /// math:highest() /// </summary> [Test] public void HighestTest() { RunAndCompare("source.xml", "highest.xslt", "highest.xml"); } /// <summary> /// Tests the following function: /// math:lowest() /// </summary> [Test] public void LowestTest() { RunAndCompare("source.xml", "lowest.xslt", "lowest.xml"); } /// <summary> /// Tests the following function: /// math:abs() /// </summary> [Test] public void AbsTest() { RunAndCompare("source.xml", "abs.xslt", "abs.xml"); } /// <summary> /// Tests the following function: /// math:sqrt() /// </summary> [Test] public void SqrtTest() { RunAndCompare("source.xml", "sqrt.xslt", "sqrt.xml"); } /// <summary> /// Tests the following function: /// math:power() /// </summary> [Test] public void PowerTest() { RunAndCompare("source.xml", "power.xslt", "power.xml"); } /// <summary> /// Tests the following function: /// math:constant() /// </summary> [Test] public void ConstantTest() { RunAndCompare("source.xml", "constant.xslt", "constant.xml"); } /// <summary> /// Tests the following function: /// math:log() /// </summary> [Test] public void LogTest() { RunAndCompare("source.xml", "log.xslt", "log.xml"); } /// <summary> /// Tests the following function: /// math:random() /// </summary> [Test] public void RandomTest() { RunAndCompare("source.xml", "random.xslt", "random.xml"); } /// <summary> /// Tests the following function: /// math:sin() /// </summary> [Test] public void SinTest() { RunAndCompare("source.xml", "sin.xslt", "sin.xml"); } /// <summary> /// Tests the following function: /// math:cos() /// </summary> [Test] public void CosTest() { RunAndCompare("source.xml", "cos.xslt", "cos.xml"); } /// <summary> /// Tests the following function: /// math:tan() /// </summary> [Test] public void TanTest() { RunAndCompare("source.xml", "tan.xslt", "tan.xml"); } /// <summary> /// Tests the following function: /// math:asin() /// </summary> [Test] public void AsinTest() { RunAndCompare("source.xml", "asin.xslt", "asin.xml"); } /// <summary> /// Tests the following function: /// math:acos() /// </summary> [Test] public void AcosTest() { RunAndCompare("source.xml", "acos.xslt", "acos.xml"); } /// <summary> /// Tests the following function: /// math:atan() /// </summary> [Test] public void AtanTest() { RunAndCompare("source.xml", "atan.xslt", "atan.xml"); } /// <summary> /// Tests the following function: /// math:atan2() /// </summary> [Test] public void Atan2Test() { RunAndCompare("source.xml", "atan2.xslt", "atan2.xml"); } /// <summary> /// Tests the following function: /// math:exp() /// </summary> [Test] public void ExpTest() { RunAndCompare("source.xml", "exp.xslt", "exp.xml"); } } } --- NEW FILE: ExsltTest.csproj --- (This appears to be a binary file; contents omitted.) --- NEW FILE: AssemblyInfo.cs --- using System.Reflection; using System.Runtime.CompilerServices; // // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. // [assembly: AssemblyTitle("")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("")] [assembly: AssemblyCopyright("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: [assembly: AssemblyVersion("1.0.*")] // // In order to sign your assembly you must specify a key to use. Refer to the // Microsoft .NET Framework documentation for more information on assembly signing. // // Use the attributes below to control which key is used for signing. // // Notes: // (*) If no key is specified, the assembly is not signed. // (*) KeyName refers to a key that has been installed in the Crypto Service // Provider (CSP) on your machine. KeyFile refers to a file which contains // a key. // (*) If the KeyFile and the KeyName values are both specified, the // following processing occurs: // (1) If the KeyName can be found in the CSP, that key is used. // (2) If the KeyName does not exist and the KeyFile does exist, the key // in the KeyFile is installed into the CSP and used. // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. // When specifying the KeyFile, the location of the KeyFile should be // relative to the project output directory which is // %Project Directory%\obj\<configuration>. For example, if your KeyFile is // located in the project directory, you would specify the AssemblyKeyFile // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework // documentation for more information on this. // [assembly: AssemblyDelaySign(false)] [assembly: AssemblyKeyFile("")] [assembly: AssemblyKeyName("")] --- NEW FILE: ExsltCommonTests.cs --- using System; using NUnit.Framework; namespace ExsltTest { /// <summary> /// Collection of unit tests for EXSLT Common module functions. /// </summary> [TestFixture] public class ExsltCommonTests : ExsltUnitTests { protected override string TestDir { get { return "tests/EXSLT/Common/"; } } protected override string ResultsDir { get { return "results/EXSLT/Common/"; } } /// <summary> /// Tests the following function: /// exsl:node-set() /// </summary> [Test] public void NodeSetTest() { RunAndCompare("source.xml", "node-set.xslt", "node-set.xml"); } /// <summary> /// Tests the following function: /// exsl:object-type() /// </summary> [Test] public void ObjectTypeTest() { RunAndCompare("source.xml", "object-type.xslt", "object-type.xml"); } } } |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:21
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/tests/EXSLT/Common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/tests/EXSLT/Common Added Files: node-set.xslt object-type.xslt source.xml Log Message: --- NEW FILE: node-set.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" exclude-result-prefixes="exsl"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:variable name="rtf"> <foo> <bar>baz</bar> </foo> </xsl:variable> <xsl:for-each select="exsl:node-set($rtf)/*"> <xsl:copy-of select="."/> </xsl:for-each> </test1> <test2> <xsl:variable name="rtf"> <foo> <bar>baz</bar> </foo> some text </xsl:variable> <xsl:for-each select="exsl:node-set($rtf)/node()"> <xsl:copy-of select="."/> </xsl:for-each> </test2> <test3> <xsl:variable name="var" select="/*"/> <xsl:for-each select="exsl:node-set($var)/*"> <xsl:copy-of select="."/> </xsl:for-each> </test3> <test4> <xsl:for-each select="exsl:node-set('text')"> <xsl:copy-of select="."/> </xsl:for-each> </test4> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: object-type.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" exclude-result-prefixes="exsl"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="/"> <out> <test1> <xsl:variable name="node" select="/data"/> <xsl:variable name="string" select="'string'"/> <xsl:variable name="number" select="11"/> <xsl:variable name="rtf"> <foo/> </xsl:variable> <xsl:variable name="boolean" select="true()"/> Node: <xsl:value-of select="exsl:object-type($node)"/> String: <xsl:value-of select="exsl:object-type($string)"/> Number: <xsl:value-of select="exsl:object-type($number)"/> RTF: <xsl:value-of select="exsl:object-type($rtf)"/> Boolean: <xsl:value-of select="exsl:object-type($boolean)"/> </test1> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: source.xml --- (This appears to be a binary file; contents omitted.) |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:20
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/results/EXSLT/Random In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/results/EXSLT/Random Added Files: random-sequence.xml Log Message: --- NEW FILE: random-sequence.xml --- (This appears to be a binary file; contents omitted.) |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:20
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/tests/GotDotNet/Strings In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/tests/GotDotNet/Strings Added Files: lowercase.xslt source.xml uppercase.xslt Log Message: --- NEW FILE: lowercase.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:str2="http://gotdotnet.com/exslt/strings" extension-element-prefixes="str2"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:value-of select="str2:lowercase(input)"/> </test1> <test2> <xsl:value-of select="str2:lowercase('')"/> </test2> <test3> <xsl:value-of select="str2:lowercase(input-ru)"/> </test3> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: uppercase.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:str2="http://gotdotnet.com/exslt/strings" extension-element-prefixes="str2"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:value-of select="str2:uppercase(input)"/> </test1> <test2> <xsl:value-of select="str2:uppercase('')"/> </test2> <test3> <xsl:value-of select="str2:uppercase(input-ru)"/> </test3> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: source.xml --- (This appears to be a binary file; contents omitted.) |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:20
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/tests/GotDotNet/DatesAndTimes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/tests/GotDotNet/DatesAndTimes Added Files: avg.xslt day-abbreviation.xslt day-name.xslt max.xslt min.xslt month-abbreviation.xslt month-name.xslt source.xml Log Message: --- NEW FILE: month-name.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date2="http://gotdotnet.com/exslt/dates-and-times" exclude-result-prefixes="date2"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> Month name in Italian: <xsl:value-of select="date2:month-name(date, 'it-IT')"/> </test1> <test2> <xsl:value-of select="date2:month-name(date, 'no-such-culture')"/> </test2> <test3> <xsl:value-of select="date2:month-name(bad-data, 'it-IT')"/> </test3> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: day-name.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date2="http://gotdotnet.com/exslt/dates-and-times" exclude-result-prefixes="date2"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> Day name in Russian: <xsl:value-of select="date2:day-name(date, 'ru-RU')"/> </test1> <test2> <xsl:value-of select="date2:day-name(date, 'no-such-culture')"/> </test2> <test3> <xsl:value-of select="date2:day-name(bad-data, 'en-US')"/> </test3> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: source.xml --- <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="max.xslt"?> <data> <timespan>P1M</timespan> <timespan>P3M</timespan> <timespan>P3M2D</timespan> <bad-data>PY3M2D</bad-data> <date>2004-09-01</date> </data> --- NEW FILE: day-abbreviation.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date2="http://gotdotnet.com/exslt/dates-and-times" exclude-result-prefixes="date2"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> Day name abbreviation in Swedish: <xsl:value-of select="date2:day-abbreviation(date, 'sv-SE')"/> </test1> <test2> <xsl:value-of select="date2:day-abbreviation(date, 'no-such-culture')"/> </test2> <test3> <xsl:value-of select="date2:day-abbreviation(bad-data, 'en-US')"/> </test3> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: month-abbreviation.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date2="http://gotdotnet.com/exslt/dates-and-times" exclude-result-prefixes="date2"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> Month name abbreviation in Turkish: <xsl:value-of select="date2:month-abbreviation(date, 'tr-TR')"/> </test1> <test2> <xsl:value-of select="date2:month-abbreviation(date, 'no-such-culture')"/> </test2> <test3> <xsl:value-of select="date2:month-abbreviation(bad-data, 'en-US')"/> </test3> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: min.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date2="http://gotdotnet.com/exslt/dates-and-times"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:value-of select="date2:min(timespan)"/> </test1> <test2> <xsl:value-of select="date2:min(/no/such/nodes)"/> </test2> <test2> <xsl:value-of select="date2:min(bad-data)"/> </test2> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: max.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date2="http://gotdotnet.com/exslt/dates-and-times"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:value-of select="date2:max(timespan)"/> </test1> <test2> <xsl:value-of select="date2:max(/no/such/nodes)"/> </test2> <test2> <xsl:value-of select="date2:max(bad-data)"/> </test2> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: avg.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date2="http://gotdotnet.com/exslt/dates-and-times"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> Average time interval is <xsl:value-of select="date2:avg(timespan)"/>. </test1> <test2> Average time interval is <xsl:value-of select="date2:avg(/no/such/nodes)"/>. </test2> <test2> Average time interval is <xsl:value-of select="date2:avg(bad-data)"/>. </test2> </out> </xsl:template> </xsl:stylesheet> |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:20
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/tests/EXSLT/RegularExpressions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/tests/EXSLT/RegularExpressions Added Files: match.xslt replace.xslt source.xml test.xslt Log Message: --- NEW FILE: test.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:regexp="http://exslt.org/regular-expressions" exclude-result-prefixes="regexp"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:if test="not(regexp:test(email/valid, '\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*'))">Email address is not valid.</xsl:if> </test1> <test2> <xsl:if test="not(regexp:test(email/invalid, '\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*'))">Email address is not valid.</xsl:if> </test2> <test3> <xsl:if test="not(regexp:test('', '\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*'))">Email address is not valid.</xsl:if> </test3> <test4> <xsl:if test="not(regexp:test(email/valid, ''))">Email address is not valid.</xsl:if> </test4> <test5> <xsl:if test="not(regexp:test(email/valid, '\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*', ''))">Email address is not valid.</xsl:if> </test5> <test6> <xsl:if test="not(regexp:test(email/valid, '\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*', 'dummy'))">Email address is not valid.</xsl:if> </test6> <test7> <xsl:if test="not(regexp:test(email/valid, '\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*', 'g'))">Email address is not valid.</xsl:if> </test7> <test8> <xsl:if test="regexp:test('FOO', 'foo', 'i')">Ok</xsl:if> </test8> <test9> <xsl:if test="regexp:test('FOO', 'foo')">Ok</xsl:if> </test9> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: replace.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:regexp="http://exslt.org/regular-expressions" exclude-result-prefixes="regexp"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:value-of select="regexp:replace(text, '<[^>]*>', 'g', '')"/> </test1> <test2> <xsl:value-of select="regexp:replace(text, '<[^>]*>', '', '')"/> </test2> <test3> <xsl:value-of select="regexp:replace('fooBar', 'BAR', 'i', 'Baz')"/> </test3> <test4> <xsl:value-of select="regexp:replace(/no/such/node, 'BAR', 'i', 'Baz')"/> </test4> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: source.xml --- <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="replace.xslt"?> <data> <email> <valid>jo...@mi...</valid> <invalid>foo@bar</invalid> </email> <entry>22/12/2003 21:00 AcmeService DB updated</entry> <text><![CDATA[<b>Bold</b> and <i>italics</i> aren't allowed here.]]></text> </data> --- NEW FILE: match.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:regexp="http://exslt.org/regular-expressions" exclude-result-prefixes="regexp"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:for-each select="regexp:match('http://www.bayes.co.uk/xml/index.xml?/xml/utils/rechecker.xml', '(\w+):\/\/([^/:]+)(:\d*)?([^# ]*)')"> Part <xsl:value-of select="position()" /> = <xsl:value-of select="." /> </xsl:for-each> </test1> <test2> <xsl:for-each select="regexp:match('This is a test string', '(\w+)', 'g')"> Part <xsl:value-of select="position()" /> = <xsl:value-of select="." /> </xsl:for-each> </test2> <test3> <xsl:for-each select="regexp:match('This is a test string', '([a-z])+ ', 'g')"> Part <xsl:value-of select="position()" /> = <xsl:value-of select="." /> </xsl:for-each> </test3> <test4> <xsl:for-each select="regexp:match('This is a test string', '([a-z])+ ', 'gi')"> Part <xsl:value-of select="position()" /> = <xsl:value-of select="." /> </xsl:for-each> </test4> <test5> <xsl:variable name="tokens" select="regexp:match(entry, '(\d{1,2}/\d{1,2}/\d{4})\s+(\d{2}:\d{2})\s+(\w*)\s+(.*)')"/> <entry date="{$tokens[2]}" time="{$tokens[3]}" application="{$tokens[4]}" message="{$tokens[5]}"/> </test5> </out> </xsl:template> </xsl:stylesheet> |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:20
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltXPathTest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltXPathTest Added Files: .cvsignore AssemblyInfo.cs ExsltXPathTest.cs ExsltXPathTest.csproj Makefile Log Message: --- NEW FILE: .cvsignore --- bin obj *.user *.suo *.dll *.pdb *.exe *.vspscc --- NEW FILE: ExsltXPathTest.csproj --- (This appears to be a binary file; contents omitted.) --- NEW FILE: ExsltXPathTest.cs --- using System; using Mvp.Xml.Exslt; using System.Xml; using System.Xml.XPath; namespace ExsltXPathTest { /// <summary> /// Test of XPath-only EXSLT. /// </summary> public class ExsltXPathTest { public static void Main(string[] args) { if (args.Length != 2) { PrintUsage(); return; } XPathDocument doc = new XPathDocument(args[0]); XPathNavigator nav = doc.CreateNavigator(); XPathExpression expr = nav.Compile(args[1]); ExsltContext ctxt = new ExsltContext(nav.NameTable); expr.SetContext(ctxt); object o = nav.Evaluate(expr); if (o is XPathNodeIterator) { XPathNodeIterator ni = (XPathNodeIterator)o; while (ni.MoveNext()) { Console.WriteLine("Node - type:{0}, name:{1}, value:{2}", ni.Current.NodeType, ni.Current.Name, ni.Current.Value); } } else { Console.WriteLine(o); } } private static void PrintUsage() { Console.WriteLine("ExsltXPathTest usage:"); Console.WriteLine("ExsltXPathTest.exe source XPath-expression"); } } } --- NEW FILE: Makefile --- all: @echo off @echo ########### Builds Exslt library... cd ..\Exslt nmake @echo ########### Builds ExsltXPathTest utility... cd ..\ExsltXPathTest csc /r:..\Exslt\GotDotNet.Exslt.dll /out:ExsltXPathTest.exe /target:exe *.cs /debug- /optimize+ copy ..\Exslt\GotDotNet.Exslt.dll GotDotNet.Exslt.dll --- NEW FILE: AssemblyInfo.cs --- using System.Reflection; using System.Runtime.CompilerServices; // // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. // [assembly: AssemblyTitle("")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("")] [assembly: AssemblyCopyright("")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: [assembly: AssemblyVersion("1.0.*")] // // In order to sign your assembly you must specify a key to use. Refer to the // Microsoft .NET Framework documentation for more information on assembly signing. // // Use the attributes below to control which key is used for signing. // // Notes: // (*) If no key is specified, the assembly is not signed. // (*) KeyName refers to a key that has been installed in the Crypto Service // Provider (CSP) on your machine. KeyFile refers to a file which contains // a key. // (*) If the KeyFile and the KeyName values are both specified, the // following processing occurs: // (1) If the KeyName can be found in the CSP, that key is used. // (2) If the KeyName does not exist and the KeyFile does exist, the key // in the KeyFile is installed into the CSP and used. // (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility. // When specifying the KeyFile, the location of the KeyFile should be // relative to the project output directory which is // %Project Directory%\obj\<configuration>. For example, if your KeyFile is // located in the project directory, you would specify the AssemblyKeyFile // attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")] // (*) Delay Signing is an advanced option - see the Microsoft .NET Framework // documentation for more information on this. // [assembly: AssemblyDelaySign(false)] [assembly: AssemblyKeyFile("")] [assembly: AssemblyKeyName("")] |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:19
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/tests/EXSLT/Random In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/tests/EXSLT/Random Added Files: random-sequence.xslt source.xml Log Message: --- NEW FILE: source.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: random-sequence.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:random="http://exslt.org/random" exclude-result-prefixes="random"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:value-of select="count(random:random-sequence(10))"/> </test1> <test2> <xsl:value-of select="count(random:random-sequence())"/> </test2> <test3> <xsl:value-of select="count(random:random-sequence(0))"/> </test3> <test4> <xsl:value-of select="count(random:random-sequence(3.5, 0.5))"/> </test4> <test5> <xsl:value-of select="count(random:random-sequence(-5))"/> </test5> <test6> <xsl:value-of select="count(random:random-sequence(5, 0))"/> </test6> <test7> <xsl:value-of select="count(random:random-sequence(5, 5 div 0))"/> </test7> <test8> <xsl:value-of select="count(random:random-sequence(5, -0.5))"/> </test8> </out> </xsl:template> </xsl:stylesheet> |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:19
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/results/GotDotNet/Dynamic In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/results/GotDotNet/Dynamic Added Files: evaluate.xml Log Message: --- NEW FILE: evaluate.xml --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/tests/EXSLT/Sets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/tests/EXSLT/Sets Added Files: difference.xslt distinct.xslt has-same-node.xslt intersection.xslt leading.xslt source.xml trailing.xslt Log Message: --- NEW FILE: intersection.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:set="http://exslt.org/sets" exclude-result-prefixes="set"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:copy-of select="set:intersection(set/*, set/foo[@bar])"/> </test1> <test2> <xsl:copy-of select="set:intersection(set/*, set/*)"/> </test2> <test3> <xsl:copy-of select="set:intersection(/no/such/nodes, set/foo[@bar])"/> </test3> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: trailing.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:set="http://exslt.org/sets" exclude-result-prefixes="set"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:copy-of select="set:trailing(set/*, set/foo[.=3])"/> </test1> <test2> <xsl:copy-of select="set:trailing(set/*, set)"/> </test2> <test3> <xsl:copy-of select="set:trailing(set/*, /no/such/nodes)"/> </test3> <test4> <xsl:copy-of select="set:trailing(/no/such/nodes, set/*)"/> </test4> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: distinct.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:set="http://exslt.org/sets" exclude-result-prefixes="set"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:copy-of select="set:distinct(orders/order/product)"/> </test1> <test2> <xsl:copy-of select="set:distinct(set/*)"/> </test2> <test3> <xsl:copy-of select="set:distinct(/no/such/nodes)"/> </test3> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: source.xml --- <?xml version="1.0" encoding="utf-8"?> <?xml-stylesheet type="text/xsl" href="leading.xslt"?> <data> <set> <foo bar="baz">1</foo> <foo>2</foo> <foo bar="baz">3</foo> <foo>4</foo> <foo bar="baz">5</foo> </set> <orders> <order date="2003-12-12"> <product>Dress Shirt</product> <size>M</size> <color>Blue</color> <quantity>10</quantity> </order> <order date="2003-12-20"> <product>Dress Shirt</product> <size>XL</size> <color>White</color> <quantity>5</quantity> </order> <order date="2003-12-25"> <product>Geeky TShirt</product> <size>XL</size> <color>Black</color> <quantity>30</quantity> </order> </orders> </data> --- NEW FILE: has-same-node.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:set="http://exslt.org/sets" exclude-result-prefixes="set"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:copy-of select="set:has-same-node(set/*, set/foo)"/> </test1> <test2> <xsl:copy-of select="set:has-same-node(set/foo[not(@bar)], set/foo[@bar])"/> </test2> <test3> <xsl:copy-of select="set:has-same-node(set/*, /no/such/nodes)"/> </test3> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: difference.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:set="http://exslt.org/sets" exclude-result-prefixes="set"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:copy-of select="set:difference(set/*, set/foo[@bar])"/> </test1> <test2> <xsl:copy-of select="set:difference(set/*, set/*)"/> </test2> <test3> <xsl:copy-of select="set:difference(/no/such/nodes, set/foo[@bar])"/> </test3> </out> </xsl:template> </xsl:stylesheet> --- NEW FILE: leading.xslt --- <?xml version="1.0" encoding="UTF-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:set="http://exslt.org/sets" exclude-result-prefixes="set"> <xsl:output indent="yes" omit-xml-declaration="yes"/> <xsl:template match="data"> <out> <test1> <xsl:copy-of select="set:leading(set/*, set/foo[.=3])"/> </test1> <test2> <xsl:copy-of select="set:leading(set/*, set)"/> </test2> <test3> <xsl:copy-of select="set:leading(set/*, /no/such/nodes)"/> </test3> <test4> <xsl:copy-of select="set:leading(/no/such/nodes, set/*)"/> </test4> </out> </xsl:template> </xsl:stylesheet> |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:19
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/results/GotDotNet/RegularExpressions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/results/GotDotNet/RegularExpressions Added Files: tokenize.xml Log Message: --- NEW FILE: tokenize.xml --- (This appears to be a binary file; contents omitted.) |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:18
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/results/GotDotNet/Math In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/results/GotDotNet/Math Added Files: avg.xml Log Message: --- NEW FILE: avg.xml --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/results/GotDotNet/DatesAndTimes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/results/GotDotNet/DatesAndTimes Added Files: avg.xml day-abbreviation.xml day-name.xml max.xml min.xml month-abbreviation.xml month-name.xml Log Message: --- NEW FILE: day-name.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: day-abbreviation.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: month-abbreviation.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: avg.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: max.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: min.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: month-name.xml --- (This appears to be a binary file; contents omitted.) |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:18
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/results/EXSLT/Sets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/results/EXSLT/Sets Added Files: difference.xml distinct.xml has-same-node.xml intersection.xml leading.xml trailing.xml Log Message: --- NEW FILE: difference.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: intersection.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: distinct.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: has-same-node.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: trailing.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: leading.xml --- (This appears to be a binary file; contents omitted.) |
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/results/EXSLT/DatesAndTimes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/results/EXSLT/DatesAndTimes Added Files: add-duration.xml add.xml date-time.xml date.xml day-abbreviation.xml day-in-month.xml day-in-week.xml day-in-year.xml day-name.xml day-of-week-in-month.xml difference.xml duration.xml format-date.xml hour-in-day.xml leap-year.xml minute-in-hour.xml month-abbreviation.xml month-in-year.xml month-name.xml parse-date.xml second-in-minute.xml seconds.xml sum.xml time.xml week-in-month.xml week-in-year.xml year.xml Log Message: --- NEW FILE: duration.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: add-duration.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: day-of-week-in-month.xml --- <out> <test1>1</test1> <test2>NaN</test2> </out> --- NEW FILE: time.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: month-in-year.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: day-in-month.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: minute-in-hour.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: week-in-month.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: year.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: add.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: format-date.xml --- <out> <test1>2001.07.04 AD 12:08:56 GMT+02:00</test1> <test2>Wed, Jul 4, 2001</test2> <test3>12:08 PM</test3> <test4>12 PM, GMT+02:00</test4> <test5>0:08 PM, GMT+02:00</test5> <test6>02001.July.04 AD 12:08 PM</test6> <test7>Wed, 4 Jul 2001 12:08:56 +0200</test7> <test8>010704120856+0200</test8> <test9></test9> <test10></test10> </out> --- NEW FILE: day-in-week.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: month-name.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: leap-year.xml --- <out> <test1>false</test1> <test2>true</test2> <test3>false</test3> <test4>true</test4> <test5>false</test5> </out> --- NEW FILE: difference.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: sum.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: day-name.xml --- <out> <test1>Wednesday</test1> <test2></test2> <test3>Sunday</test3> <test4>Monday</test4> <test5>Tuesday</test5> <test6>Wednesday</test6> <test7>Thursday</test7> <test8>Friday</test8> <test9>Saturday</test9> </out> --- NEW FILE: parse-date.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: date-time.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: day-abbreviation.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: day-in-year.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: seconds.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: second-in-minute.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: date.xml --- <out> <test1>2001-07-04+02:00</test1> <test2></test2> <test3>2001-09-12</test3> </out> --- NEW FILE: month-abbreviation.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: hour-in-day.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: week-in-year.xml --- (This appears to be a binary file; contents omitted.) |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:18
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/results/GotDotNet/Sets In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/results/GotDotNet/Sets Added Files: subset.xml Log Message: --- NEW FILE: subset.xml --- (This appears to be a binary file; contents omitted.) |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:17
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/results/GotDotNet/Strings In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/results/GotDotNet/Strings Added Files: lowercase.xml uppercase.xml Log Message: --- NEW FILE: uppercase.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: lowercase.xml --- (This appears to be a binary file; contents omitted.) |
From: Oleg T. <he...@us...> - 2005-10-16 20:13:17
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/results/EXSLT/RegularExpressions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14178/v2/test/ExsltTest/results/EXSLT/RegularExpressions Added Files: match.xml replace.xml test.xml Log Message: --- NEW FILE: test.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: match.xml --- (This appears to be a binary file; contents omitted.) --- NEW FILE: replace.xml --- (This appears to be a binary file; contents omitted.) |
From: Oleg T. <he...@us...> - 2005-10-16 20:12:27
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltXPathTest/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14107/tests Log Message: Directory /cvsroot/mvp-xml/EXSLT/v2/test/ExsltXPathTest/tests added to the repository |
From: Oleg T. <he...@us...> - 2005-10-16 20:11:50
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/tests/GotDotNet/Math In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13865/Math Log Message: Directory /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/tests/GotDotNet/Math added to the repository |
From: Oleg T. <he...@us...> - 2005-10-16 20:11:50
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/tests/GotDotNet/RegularExpressions In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13865/RegularExpressions Log Message: Directory /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/tests/GotDotNet/RegularExpressions added to the repository |
From: Oleg T. <he...@us...> - 2005-10-16 20:11:50
|
Update of /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/tests/GotDotNet/Strings In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13865/Strings Log Message: Directory /cvsroot/mvp-xml/EXSLT/v2/test/ExsltTest/tests/GotDotNet/Strings added to the repository |