summaryrefslogtreecommitdiff
path: root/textproc/sml-fxp/files/patch-src-Parser-Dtd-dtdAttributes.sml
diff options
context:
space:
mode:
authorThomas Abthorpe <tabthorpe@FreeBSD.org>2007-10-04 03:02:59 +0000
committerThomas Abthorpe <tabthorpe@FreeBSD.org>2007-10-04 03:02:59 +0000
commit7542e5c15d8f589bac3e05b0d61b0f5249499feb (patch)
tree7eb3a422ca7644f92eea916165fe3a75fe24c1fb /textproc/sml-fxp/files/patch-src-Parser-Dtd-dtdAttributes.sml
parent- Update to 0.12 (diff)
fxp is a validating XML parser written completely in the functional
programming language SML. fxp can validate both XML 1.0 and XML 1.1 documents. It has a programming interface allowing for production of XML applications based on fxp. It is installed with four example applications. WWW: http://www2.informatik.tu-muenchen.de/~berlea/Fxp PR: ports/116572 Submitted by: Timothy Bourke <timbob at bigpond.com>
Diffstat (limited to '')
-rw-r--r--textproc/sml-fxp/files/patch-src-Parser-Dtd-dtdAttributes.sml12
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/sml-fxp/files/patch-src-Parser-Dtd-dtdAttributes.sml b/textproc/sml-fxp/files/patch-src-Parser-Dtd-dtdAttributes.sml
new file mode 100644
index 000000000000..1cf618d9c9b6
--- /dev/null
+++ b/textproc/sml-fxp/files/patch-src-Parser-Dtd-dtdAttributes.sml
@@ -0,0 +1,12 @@
+diff -Naur src/Parser/Dtd/dtdAttributes.sml.orig src/Parser/Dtd/dtdAttributes.sml
+--- src/Parser/Dtd/dtdAttributes.sml.orig 2003-10-09 09:47:55.000000000 -0500
++++ src/Parser/Dtd/dtdAttributes.sml 2003-10-17 14:12:28.000000000 -0500
+@@ -65,7 +65,7 @@
+ ord(String.sub(s,1))-65,
+ true))
+ iso639codes
+- in Vector.tabulate(26,fn i => Array.extract (Array.sub(arr,i),0,NONE))
++ in Vector.tabulate(26,fn i => Array.vector (Array.sub(arr,i)))
+ end
+
+ (*--------------------------------------------------------------------*)