[Home] [By Thread] [By Date] [Recent Entries]


From: "Jonathan Borden" <jborden@m...>
>
> How many validators can validate XHTML 1.1?
>
> MSXML bags it because it doesn't accept defaulted xmlns attributes -- and
> since validation is all XML 1.0, I can't see why that should have bearing
on
> validation.
>

I tried validating the example from the XHTML1.1 rec [1].:-

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" >
  <head>
    <title>Virtual Library</title>
  </head>
  <body>
    <p>Moved to <a href="http://vlib.org/">vlib.org</a>.</p>
  </body>
</html>

Our XML Validator (xmlvalid) [2] validated the document without complaint.
RXP [3] was successful (except for some warnings about redefinitions of
PEs).

These were the only two I tried, so perhaps the state of XML 1.0 validation
isn't so bad after all?

By the way, validating this document involves a fair amount of external
entity fetching (try xmlvalid --verbose for a laugh), so I wouldn't
recommend doing it regularly without a local copy of the DTD and an OASIS
XML Catalog [4] !

Regards
~Rob

--
Rob Lugt
ElCel Technology
http://www.elcel.com/

[1] http://www.w3.org/TR/xhtml11
[2] http://www.elcel.com/products/xmlvalid.html
[3] http://www.ltg.ed.ac.uk/~richard/rxp.html
[4] http://www.oasis-open.org/committees/entity/


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member