I'm trying to validate using libxml-ruby's DTD#validate
, but I keep getting the following warnings:
Warning: failed to load external entity "xhtml-lat1.ent" at :29.
Warning: failed to load external entity "xhtml-symbol.ent" at :34.
Warning: failed to load external entity "xhtml-special.ent" at :39.
I wouldn't mind, except I use things like …
, which are defined in those, causing my XHTML to appear to be invalid.
How do I tell the DTD about those extra files? I tried running from a directory containing the .dtd
file and all of the .ent
s, but that doesn't help.