freebsd-ports/textproc/sml-fxp/files/patch-src-Parser-Dtd-dtdAttributes.sml
Thomas Abthorpe 7542e5c15d 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>
2007-10-04 03:02:59 +00:00

12 lines
554 B
Standard ML

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
(*--------------------------------------------------------------------*)