[EMAIL PROTECTED] <> schrieb am Freitag, 23. September 2005 11:15: > Hi, > > I try to integrate an xhtml validator in my unit-test, actually i > managed it check if the xhtml is wellformed - with xmlwf. > Now I search for an local xhtml-validator, there are plenty of > online-validators, but due the fact that my internet-connection > sometimes just slow done, i want to have an local xhtml validator. > > Does anybody know such a tool? I didn't find one in the net. > > In the case there are no apropriate local validators around in the > net, i thought of to build my own one. Should be not so difficult, if > i am right it just should made of 2 parts: > > * xml-validator, like xerces > * xhtml DTD > > but where do i get the xhtml DTD?
The url contained in the doctype points to the proper DTD. so for XHTML 1.0 Transitional: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd XHTML 1.0 Strict: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd XHTML 1.0 Frameset: http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd I'd have to look up the 1.1 url, but it something on the line of this. You might need to teach your xml validator that those urls have to be regarded as local, otherwise it might attemt to download them. > > Regards Erik regards fg -- Felix Gilcher Head of IT Development Exozet Berlin GmbH Rotherstraße 20 10245 Berlin _______________________________________________ agavi-dev mailing list [email protected] http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev
