|
I downloaded the latest version
of the Java based XML parsing
software
from IBM ,
XML4J_3_0_0EA3, and attempted to run the sample SAX program
SAXWriter.java. It ran fine with a simple DTD and XML file I used to
test it.
I had problems when I attempted to use
the latest XHTML.DTD.
testXhtml.xml: [Fatal Error]
xhtml1-strict.dtd:315:47: The attribute declaration for "xml:space" must be
given as an enumerated type whose only possible values are "default" and
"preserve". When you look at line 315 in the dtd, you see: xml:space (preserve) #FIXED 'preserve' Column 47 is right after the word preserve. I'm using java version: 1.2.2 The sample DTD and XML files are enclosed in this mail document. Thanks, in advance, for the help, Mark Della Valle |
<<attachment: xhtml1.zip>>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/1999/PR-xhtml1-19991210/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Virtual Library</title>
</head>
<body>
<p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p>
</body>
</html>