mit-scheme.git
18 years agoAllow variable names to contain colons in "Edwin Variables:" section.
Chris Hanson [Sat, 29 Apr 2006 01:29:56 +0000 (01:29 +0000)]
Allow variable names to contain colons in "Edwin Variables:" section.

18 years agoFix bug: use of RUN-SHELL-COMMAND in SVN support wasn't working when
Chris Hanson [Mon, 24 Apr 2006 01:12:12 +0000 (01:12 +0000)]
Fix bug: use of RUN-SHELL-COMMAND in SVN support wasn't working when
filename had spaces in it.  Instead use RUN-SYNCHRONOUS-SUBPROCESS.

18 years agoRequire user to specify version string as sole argument.
Chris Hanson [Fri, 14 Apr 2006 18:33:51 +0000 (18:33 +0000)]
Require user to specify version string as sole argument.

18 years agoEnable large-file support.
Chris Hanson [Sat, 8 Apr 2006 03:07:48 +0000 (03:07 +0000)]
Enable large-file support.

18 years agoEnable large-file support.
Chris Hanson [Sat, 8 Apr 2006 03:07:26 +0000 (03:07 +0000)]
Enable large-file support.

18 years agoFix compiler warning from nested declaration.
Chris Hanson [Sat, 11 Mar 2006 04:15:45 +0000 (04:15 +0000)]
Fix compiler warning from nested declaration.

18 years agoFix compiler warnings from newer version of libmhash.
Chris Hanson [Sat, 11 Mar 2006 04:13:10 +0000 (04:13 +0000)]
Fix compiler warnings from newer version of libmhash.

18 years agoDon't bother making URIs work with FASDUMP/FASLOAD -- doing so breaks
Chris Hanson [Fri, 10 Mar 2006 01:46:26 +0000 (01:46 +0000)]
Don't bother making URIs work with FASDUMP/FASLOAD -- doing so breaks
interning.  Fixing this is relatively hard.

18 years agoChange URI data structures to be usable with fasdump and fasload.
Chris Hanson [Thu, 9 Mar 2006 19:30:05 +0000 (19:30 +0000)]
Change URI data structures to be usable with fasdump and fasload.

18 years agoUse SIMPLE-UNPARSER-METHOD.
Chris Hanson [Thu, 9 Mar 2006 19:20:58 +0000 (19:20 +0000)]
Use SIMPLE-UNPARSER-METHOD.

18 years agoImplement support for parsing #[...] syntax. Currently this works for
Chris Hanson [Thu, 9 Mar 2006 19:18:34 +0000 (19:18 +0000)]
Implement support for parsing #[...] syntax.  Currently this works for
pathnames and URIs.

18 years agoAdd mode-specific keybindings to mode help.
Chris Hanson [Thu, 9 Mar 2006 18:48:59 +0000 (18:48 +0000)]
Add mode-specific keybindings to mode help.

18 years agoFix typo.
Chris Hanson [Thu, 9 Mar 2006 06:23:23 +0000 (06:23 +0000)]
Fix typo.

18 years agoFix bug: pathname directories can contain the symbol 'UP, but the
Chris Hanson [Thu, 9 Mar 2006 05:29:28 +0000 (05:29 +0000)]
Fix bug: pathname directories can contain the symbol 'UP, but the
pathname/URI conversions weren't handling that case.

18 years agoEliminate load properties. Implement new generalization called an
Chris Hanson [Tue, 7 Mar 2006 20:40:24 +0000 (20:40 +0000)]
Eliminate load properties.  Implement new generalization called an
"eval unit", which is a URI associated with the current file or other
lexical unit.  This can be used as a key into a table to get the
effect of properties.

18 years agoAdd optional ERROR? argument to URI->PATHNAME.
Chris Hanson [Tue, 7 Mar 2006 20:29:34 +0000 (20:29 +0000)]
Add optional ERROR? argument to URI->PATHNAME.

18 years agoImplement URI->PATHNAME.
Chris Hanson [Tue, 7 Mar 2006 20:22:49 +0000 (20:22 +0000)]
Implement URI->PATHNAME.

18 years agoImplement UTF8-STRING->STRING.
Chris Hanson [Tue, 7 Mar 2006 19:56:25 +0000 (19:56 +0000)]
Implement UTF8-STRING->STRING.

18 years agoReplace CALL-WITH-VALUES with RECEIVE.
Chris Hanson [Tue, 7 Mar 2006 19:35:56 +0000 (19:35 +0000)]
Replace CALL-WITH-VALUES with RECEIVE.

18 years agoAdd mechanism to write and read properties pertaining to the currently
Chris Hanson [Tue, 7 Mar 2006 06:40:24 +0000 (06:40 +0000)]
Add mechanism to write and read properties pertaining to the currently
loading file.

18 years agoExport procedures to canonicalize the inputs to MAKE-RDF-TRIPLE.
Chris Hanson [Tue, 7 Mar 2006 06:16:26 +0000 (06:16 +0000)]
Export procedures to canonicalize the inputs to MAKE-RDF-TRIPLE.

18 years agoAdd rdf-index type to rdf-struct. Move MATCH-BNODE-NAME and
Chris Hanson [Tue, 7 Mar 2006 02:52:49 +0000 (02:52 +0000)]
Add rdf-index type to rdf-struct.  Move MATCH-BNODE-NAME and
MATCH-LANGUAGE into rdf-struct.  Change bnode language to be a symbol
rather than a string.

18 years agoAdd rdf-index type to rdf-struct. Move MATCH-BNODE-NAME and
Chris Hanson [Tue, 7 Mar 2006 02:51:08 +0000 (02:51 +0000)]
Add rdf-index type to rdf-struct.  Move MATCH-BNODE-NAME and
MATCH-LANGUAGE into rdf-struct.  Change bnode language to be a symbol
rather than a string.

18 years agoRedefine ->URI and friends to treat a false CALLER as meaning "no
Chris Hanson [Mon, 6 Mar 2006 04:42:59 +0000 (04:42 +0000)]
Redefine ->URI and friends to treat a false CALLER as meaning "no
errors".

18 years agoChange unparser for bnodes so that is shows the name.
Chris Hanson [Mon, 6 Mar 2006 02:32:15 +0000 (02:32 +0000)]
Change unparser for bnodes so that is shows the name.

18 years agoChange MAKE-RDF-BNODE so that its argument is optional.
Chris Hanson [Mon, 6 Mar 2006 02:29:33 +0000 (02:29 +0000)]
Change MAKE-RDF-BNODE so that its argument is optional.

18 years agoDon't use text properties to mark up the summary buffer; they are far
Chris Hanson [Sun, 5 Mar 2006 04:05:00 +0000 (04:05 +0000)]
Don't use text properties to mark up the summary buffer; they are far
too slow.  Instead just save an index vector and use that.

18 years agoFix behavior of *PP-UNINTERNED-SYMBOLS-BY-NAME* and
Chris Hanson [Thu, 2 Mar 2006 20:53:02 +0000 (20:53 +0000)]
Fix behavior of *PP-UNINTERNED-SYMBOLS-BY-NAME* and
*UNPARSE-UNINTERNED-SYMBOLS-BY-NAME?*.

18 years agoFix bug: incorrect binding of *BNODES*.
Chris Hanson [Thu, 2 Mar 2006 03:18:42 +0000 (03:18 +0000)]
Fix bug: incorrect binding of *BNODES*.

18 years agoSTRING-HASH is no longer a primitive.
Chris Hanson [Sun, 26 Feb 2006 04:26:37 +0000 (04:26 +0000)]
STRING-HASH is no longer a primitive.

18 years agoImplement SRFI-69 support.
Chris Hanson [Sun, 26 Feb 2006 03:00:55 +0000 (03:00 +0000)]
Implement SRFI-69 support.

18 years agoImplement interning of bnodes. Implement file-level input procedures.
Chris Hanson [Fri, 24 Feb 2006 17:47:26 +0000 (17:47 +0000)]
Implement interning of bnodes.  Implement file-level input procedures.

18 years agoExport port-property operations. Make sure 'transcript property is
Chris Hanson [Fri, 24 Feb 2006 17:42:51 +0000 (17:42 +0000)]
Export port-property operations.  Make sure 'transcript property is
removed when not in use.

18 years agoFail regular-expression searches immediately at end of range. This
Chris Hanson [Sat, 18 Feb 2006 04:56:22 +0000 (04:56 +0000)]
Fail regular-expression searches immediately at end of range.  This
prevents various infinite loops from patterns that match the null
string.

18 years agoAdd basic support for RDF triples and RDF/NT.
Chris Hanson [Sat, 18 Feb 2006 04:31:55 +0000 (04:31 +0000)]
Add basic support for RDF triples and RDF/NT.

18 years agoRevert decision to make URI?, ABSOLUTE-URI?, and RELATIVE-URI? true
Chris Hanson [Sat, 18 Feb 2006 02:59:27 +0000 (02:59 +0000)]
Revert decision to make URI?, ABSOLUTE-URI?, and RELATIVE-URI? true
for anything other than a URI record.

18 years agoDon't use TOP-LEVEL in URI parsers; it makes them unable to be
Chris Hanson [Sat, 18 Feb 2006 01:42:13 +0000 (01:42 +0000)]
Don't use TOP-LEVEL in URI parsers; it makes them unable to be
combined into other parsers.

18 years agoDon't use URI authority for file: URIs.
Chris Hanson [Thu, 16 Feb 2006 05:36:38 +0000 (05:36 +0000)]
Don't use URI authority for file: URIs.

18 years agoChange several error messages to be clearer or more accurate.
Chris Hanson [Wed, 15 Feb 2006 06:08:12 +0000 (06:08 +0000)]
Change several error messages to be clearer or more accurate.

18 years agoChange XTERM-RECONFIGURE primitive so that it's arguments are given in
Chris Hanson [Wed, 15 Feb 2006 05:10:00 +0000 (05:10 +0000)]
Change XTERM-RECONFIGURE primitive so that it's arguments are given in
character cells rather than in pixels.

18 years agoReject XML documents for versions other than "1.0".
Chris Hanson [Sun, 12 Feb 2006 02:48:53 +0000 (02:48 +0000)]
Reject XML documents for versions other than "1.0".

18 years agoImplement DEFINE-EDITOR-ALIAS.
Chris Hanson [Mon, 6 Feb 2006 18:50:45 +0000 (18:50 +0000)]
Implement DEFINE-EDITOR-ALIAS.

18 years agoFix compiler warning.
Chris Hanson [Mon, 6 Feb 2006 18:43:01 +0000 (18:43 +0000)]
Fix compiler warning.

18 years agoFix more brokenness.
Chris Hanson [Mon, 6 Feb 2006 18:41:04 +0000 (18:41 +0000)]
Fix more brokenness.

18 years agoImplement DEFINE-EDITOR-ALIAS.
Chris Hanson [Mon, 6 Feb 2006 18:40:29 +0000 (18:40 +0000)]
Implement DEFINE-EDITOR-ALIAS.

18 years agoMissed a compatibility alias.
Chris Hanson [Mon, 6 Feb 2006 18:26:54 +0000 (18:26 +0000)]
Missed a compatibility alias.

18 years agoRename to XML mode.
Chris Hanson [Mon, 6 Feb 2006 18:24:52 +0000 (18:24 +0000)]
Rename to XML mode.

18 years agoRemove references to OS/2 and the specific version number 7.7.1.
Chris Hanson [Mon, 6 Feb 2006 02:14:26 +0000 (02:14 +0000)]
Remove references to OS/2 and the specific version number 7.7.1.

18 years agoAdd some newlines with inserted elements, to help readability.
Chris Hanson [Thu, 2 Feb 2006 20:53:23 +0000 (20:53 +0000)]
Add some newlines with inserted elements, to help readability.

18 years agoAllow URIs as char-data.
Chris Hanson [Thu, 2 Feb 2006 20:50:26 +0000 (20:50 +0000)]
Allow URIs as char-data.

18 years agoGenerate HTTP header _after_ editing document.
Chris Hanson [Thu, 2 Feb 2006 20:49:54 +0000 (20:49 +0000)]
Generate HTTP header _after_ editing document.

18 years agoProvide useful defaults for XML declaration, DTD, and default
Chris Hanson [Thu, 2 Feb 2006 20:08:24 +0000 (20:08 +0000)]
Provide useful defaults for XML declaration, DTD, and default
namespace of generated XHTML document.

18 years agoCompile "win32" subdirectory.
Chris Hanson [Thu, 2 Feb 2006 05:27:01 +0000 (05:27 +0000)]
Compile "win32" subdirectory.

18 years agoUpdates for new release.
Chris Hanson [Thu, 2 Feb 2006 03:46:46 +0000 (03:46 +0000)]
Updates for new release.

18 years agoAlways make zip file.
Chris Hanson [Thu, 2 Feb 2006 03:06:47 +0000 (03:06 +0000)]
Always make zip file.

18 years agoUpdate CVS repository path.
Chris Hanson [Thu, 2 Feb 2006 02:49:56 +0000 (02:49 +0000)]
Update CVS repository path.

18 years agoChange all URI procedures to accept any object that can be coerced to
Chris Hanson [Thu, 2 Feb 2006 01:02:12 +0000 (01:02 +0000)]
Change all URI procedures to accept any object that can be coerced to
a URI by ->URI.

18 years agoArrgh. Add code to count correct number of columns for #\tab.
Chris Hanson [Wed, 1 Feb 2006 06:13:07 +0000 (06:13 +0000)]
Arrgh.  Add code to count correct number of columns for #\tab.

18 years agoImplement PATHNAME->URI.
Chris Hanson [Tue, 31 Jan 2006 18:50:03 +0000 (18:50 +0000)]
Implement PATHNAME->URI.

18 years agoIntern URIs so that equality can be tested using EQ?.
Chris Hanson [Tue, 31 Jan 2006 17:58:54 +0000 (17:58 +0000)]
Intern URIs so that equality can be tested using EQ?.

18 years agoNo longer need to pre-process default arguments.
Chris Hanson [Tue, 31 Jan 2006 17:43:37 +0000 (17:43 +0000)]
No longer need to pre-process default arguments.

18 years agoChange URI's printed representation to show the string as a Scheme
Chris Hanson [Tue, 31 Jan 2006 06:47:47 +0000 (06:47 +0000)]
Change URI's printed representation to show the string as a Scheme
object.

18 years agoMake sure symbols are properly quoted when pretty-printed.
Chris Hanson [Tue, 31 Jan 2006 06:41:43 +0000 (06:41 +0000)]
Make sure symbols are properly quoted when pretty-printed.

18 years agoFix various minor problems with XML section.
Chris Hanson [Tue, 31 Jan 2006 06:30:48 +0000 (06:30 +0000)]
Fix various minor problems with XML section.

18 years agoUse URI records for for namespace URIs.
Chris Hanson [Tue, 31 Jan 2006 06:15:55 +0000 (06:15 +0000)]
Use URI records for for namespace URIs.

18 years agoChange representation of namespace URIs to use the URI data
Chris Hanson [Mon, 30 Jan 2006 21:05:54 +0000 (21:05 +0000)]
Change representation of namespace URIs to use the URI data
abstraction.

18 years agoChange all references from IRI to URI.
Chris Hanson [Mon, 30 Jan 2006 20:23:05 +0000 (20:23 +0000)]
Change all references from IRI to URI.

18 years agoChanges that allow compilation with Open Watcom 1.4.
Chris Hanson [Sun, 29 Jan 2006 06:37:30 +0000 (06:37 +0000)]
Changes that allow compilation with Open Watcom 1.4.

18 years agoCheck for .svn directory before calling "svn" program.
Chris Hanson [Sun, 29 Jan 2006 06:03:42 +0000 (06:03 +0000)]
Check for .svn directory before calling "svn" program.

18 years agoEliminate compiler warning.
Chris Hanson [Sat, 28 Jan 2006 02:50:42 +0000 (02:50 +0000)]
Eliminate compiler warning.

18 years agoSimplify overhead required to define XHTML DTDs.
Chris Hanson [Sat, 28 Jan 2006 02:48:36 +0000 (02:48 +0000)]
Simplify overhead required to define XHTML DTDs.

18 years agoAdd mode for .rdf files.
Chris Hanson [Fri, 27 Jan 2006 21:05:52 +0000 (21:05 +0000)]
Add mode for .rdf files.

18 years agoWhen writing processing instructions, don't emit space after name
Chris Hanson [Thu, 26 Jan 2006 05:53:49 +0000 (05:53 +0000)]
When writing processing instructions, don't emit space after name
unless needed.

18 years agoImplement XML-STYLESHEET.
Chris Hanson [Thu, 26 Jan 2006 05:44:33 +0000 (05:44 +0000)]
Implement XML-STYLESHEET.

18 years agoChange HTML-1.0-DOCUMENT and HTML-1.1-DOCUMENT to support XML
Chris Hanson [Thu, 26 Jan 2006 05:42:37 +0000 (05:42 +0000)]
Change HTML-1.0-DOCUMENT and HTML-1.1-DOCUMENT to support XML
stylesheet references.

18 years agoUpdate copyright date.
Chris Hanson [Thu, 26 Jan 2006 03:53:46 +0000 (03:53 +0000)]
Update copyright date.

18 years agoMake sure content-type header has appropriate charset information.
Chris Hanson [Thu, 26 Jan 2006 03:53:24 +0000 (03:53 +0000)]
Make sure content-type header has appropriate charset information.

18 years agoAdd changes to support DB 4.4.
Chris Hanson [Fri, 13 Jan 2006 05:47:35 +0000 (05:47 +0000)]
Add changes to support DB 4.4.

18 years agoTweak to eliminate texinfo warning.
Chris Hanson [Fri, 13 Jan 2006 05:27:40 +0000 (05:27 +0000)]
Tweak to eliminate texinfo warning.

18 years agoChange "MIT Scheme" to "MIT/GNU Scheme".
Chris Hanson [Fri, 13 Jan 2006 03:53:41 +0000 (03:53 +0000)]
Change "MIT Scheme" to "MIT/GNU Scheme".

18 years agoFix incorrect WNA error message in CONDITION-CONSTRUCTOR.
Chris Hanson [Sat, 7 Jan 2006 02:20:57 +0000 (02:20 +0000)]
Fix incorrect WNA error message in CONDITION-CONSTRUCTOR.

18 years agoMangle the email addresses for obscurity.
Chris Hanson [Tue, 3 Jan 2006 01:58:04 +0000 (01:58 +0000)]
Mangle the email addresses for obscurity.

18 years agoImplement KILL-BUFFER-AND-WINDOW command (C-x 4 0) as in GNU Emacs.
Taylor R. Campbell [Mon, 2 Jan 2006 04:20:59 +0000 (04:20 +0000)]
Implement KILL-BUFFER-AND-WINDOW command (C-x 4 0) as in GNU Emacs.

18 years agoFix several bugs in the new console resizing code:
Taylor R. Campbell [Sat, 31 Dec 2005 20:02:16 +0000 (20:02 +0000)]
Fix several bugs in the new console resizing code:

  - Move initialization of terminal sizes out of UX_initialize_tty
    and into a new function, UX_reinitialize_tty, which does not also
    initialize the stdin/stdout channels, and which UX_initialize_tty
    calls.
  - Call UX_reinitialize_tty, not UX_initialize_tty, in the SIGWINCH
    handler, so that it will not reallocate the stdin/stdout channels
    and potentially overflow the channel table.
  - Don't distribute the CONSOLE-RESIZE event in the CONSOLE-RESIZE
    interrupt handler, since its receivers (recipients?) may perform
    arbitrary computation that should not be performed in interrupt
    handlers.  Instead, signal a thread event to the console thread,
    if there is one, that will distribute the CONSOLE-RESIZE event.

18 years agoDon't provide support for a special DISCARD-CHAR operation; always use
Chris Hanson [Sat, 31 Dec 2005 15:43:42 +0000 (15:43 +0000)]
Don't provide support for a special DISCARD-CHAR operation; always use
READ-CHAR instead.

18 years agoEliminate redundant and incorrect definition of INPUT-PORT/READ-LINE,
Taylor R. Campbell [Tue, 27 Dec 2005 06:22:06 +0000 (06:22 +0000)]
Eliminate redundant and incorrect definition of INPUT-PORT/READ-LINE,
which the run-time system has provided for some time now.

18 years agoSignal a recognizable NNTP EOF error instead of a simple error if the
Taylor R. Campbell [Sun, 25 Dec 2005 17:43:52 +0000 (17:43 +0000)]
Signal a recognizable NNTP EOF error instead of a simple error if the
the server silently closes the connection and NNTP-READ-LINE receives
an EOF, so that NNTP-PROTECT can handle the condition and reopen the
connection in this event, when before it would just signal an Edwin
Edwin error.  The response field of NNTP errors can now be either a
string or an EOF object.

18 years agoImplement SIGWINCH handler so that Edwin console screens can resize
Taylor R. Campbell [Sun, 25 Dec 2005 17:04:39 +0000 (17:04 +0000)]
Implement SIGWINCH handler so that Edwin console screens can resize
themselves if their enclosing terminals are resized.  This is
accomplished by:

  - allocating a new interrupt, INT_Global_3, to mean that the
    console was resized;
  - installing a SIGWINCH handler to request an INT_Global_3
    interrupt;
  - introducing a new event distributor, EVENT:CONSOLE-RESIZE, which
    the run-time system's INT_Global_3 handler invokes; and
  - adding edwin/tterm.scm's RESIZE-SCREEN as an event receiver to
    EVENT:CONSOLE-RESIZE whenever an Edwin console screen is entered,
    and removing it whenever a console screen is exited.

18 years agoUse -MM option to gcc in makegen-cc to generate header file lists,
Taylor R. Campbell [Sun, 25 Dec 2005 05:59:46 +0000 (05:59 +0000)]
Use -MM option to gcc in makegen-cc to generate header file lists,
not -M; -MM inhibits inclusion of system files, which not only are
superfluous but also, if absent, cause errors to be silently inserted
into the resultant Makefiles, which make then chokes on.

18 years agoProtect against EOF in NNTP-READ-LINE, which causes segfaults
Taylor R. Campbell [Sun, 25 Dec 2005 05:56:58 +0000 (05:56 +0000)]
Protect against EOF in NNTP-READ-LINE, which causes segfaults
elsewhere if unchecked.

18 years agoFix bug in DISCARD-CHAR whereby it would fail if not immediately
Taylor R. Campbell [Sun, 25 Dec 2005 05:10:02 +0000 (05:10 +0000)]
Fix bug in DISCARD-CHAR whereby it would fail if not immediately
following a successful (non-EOF) PEEK-CHAR, while it should have the
same effect as READ-CHAR, per the manual.  DISCARD-CHAR is now a port
operation that may be supplied when constructing port types, but for
which a default is provided in terms of READ-CHAR.  The DISCARD-CHAR
feature now clobbers the unread character field only if it is already
filled; otherwise, it defers to the supplied operation.

18 years agoImplement FIND-UNIQUE-MATCHING-ITEM and FIND-UNIQUE-NON-MATCHING-ITEM.
Chris Hanson [Fri, 23 Dec 2005 04:15:45 +0000 (04:15 +0000)]
Implement FIND-UNIQUE-MATCHING-ITEM and FIND-UNIQUE-NON-MATCHING-ITEM.

18 years agoFix thinko that caused internal error when visiting non-SVN-managed
Chris Hanson [Thu, 22 Dec 2005 18:54:12 +0000 (18:54 +0000)]
Fix thinko that caused internal error when visiting non-SVN-managed
files in a directory with SVN files.

18 years agoAdd omitted principal name to kinit call.
Chris Hanson [Thu, 22 Dec 2005 01:44:35 +0000 (01:44 +0000)]
Add omitted principal name to kinit call.

18 years agoAdd hack to give cron job access to AFS.
Chris Hanson [Tue, 20 Dec 2005 20:27:36 +0000 (20:27 +0000)]
Add hack to give cron job access to AFS.

18 years agoFix typo.
Chris Hanson [Tue, 20 Dec 2005 15:53:04 +0000 (15:53 +0000)]
Fix typo.

18 years agoAdd limited support for column tracking -- only works for ISO 8859-x
Chris Hanson [Tue, 20 Dec 2005 01:52:56 +0000 (01:52 +0000)]
Add limited support for column tracking -- only works for ISO 8859-x
character sets.

18 years agoDon't use multiclosures by default, as this adversely affects how
Chris Hanson [Mon, 19 Dec 2005 19:29:56 +0000 (19:29 +0000)]
Don't use multiclosures by default, as this adversely affects how
procedures are reclaimed by GC.

18 years agoChange XML->STRING to use string output ports and to support coding.
Chris Hanson [Mon, 19 Dec 2005 04:11:32 +0000 (04:11 +0000)]
Change XML->STRING to use string output ports and to support coding.

18 years agoChange HTML-xxx-DOCUMENT to allow overriding the XML declaration.
Chris Hanson [Mon, 19 Dec 2005 04:03:14 +0000 (04:03 +0000)]
Change HTML-xxx-DOCUMENT to allow overriding the XML declaration.