T
Theo
Hi,
On my desktop, I have a copy of both xhtml1-strict.dtd and
xhtml1-strict.xsd. Using XML Spy, when I try to validate the
following xhtml code, it works fine with the dtd but not with the xsd:
<?xml version="1.0"?>
<html>
<head>
<title>A title.</title>
</head>
<body>
<p> </p>
</body>
</html>
I keep getting the error: DTD error - entity 'nbsp' is undefined.
Does XSD not support the entity sets? (I was reading somewhere that
XML discourages entity sets other than the built-in 5.) Is there a
way around this so that I can make the XSD file validate this xml?
Thanks for any help!
On my desktop, I have a copy of both xhtml1-strict.dtd and
xhtml1-strict.xsd. Using XML Spy, when I try to validate the
following xhtml code, it works fine with the dtd but not with the xsd:
<?xml version="1.0"?>
<html>
<head>
<title>A title.</title>
</head>
<body>
<p> </p>
</body>
</html>
I keep getting the error: DTD error - entity 'nbsp' is undefined.
Does XSD not support the entity sets? (I was reading somewhere that
XML discourages entity sets other than the built-in 5.) Is there a
way around this so that I can make the XSD file validate this xml?
Thanks for any help!