XML validation capability added to SP
James Clark
jjc at jclark.com
Thu Apr 10 15:29:51 BST 1997
I spent the day adding XML validation support to SP. You can get an SP
snapshot that has this from ftp://ftp.jclark.com/pub/test/sp.zip. The
support takes the form of a -wxml option which will cause SP to give a
warning for the use of any SGML construct that is not allowed in XML.
Actually -wxml is short-hand for enabling 45 new warnings, each of which can
be enabled or disabled individually. I haven't yet documented these, but
you can read ParserApp.cxx to find a list.
There are a couple of things I know I don't yet detect:
- XML's additional restrictions on parameter entity references
- XML's requirements about quoting &, < and >
- XML's additional restrictions on the content of ignored marked sections
There are probably others I don't know about. If you find any, please
report them.
James
xml-dev: A list for W3C XML Developers
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To unsubscribe, send to majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
List coordinator, Henry Rzepa (rzepa at ic.ac.uk)
More information about the Xml-dev
mailing list