Re: Validation using local copy of DTD

2007-11-07 Thread Michael Glavassevich
Hi Kaspar, You can redirect to a local copy of the DTD with an XML Catalog [1] or your own custom EntityResolver (which Jacob suggested). Note that the "http://apache.org/xml/properties/schema/external-schemaLocation"; property and many of the other features you're setting only apply to XML Schem

Re: Validation using local copy of DTD

2007-11-07 Thread Jacob Kjome
Normally, you'd either use an EntityResolver or at least provide a valid URL. Assuming the "alfresco" directory is at the root of the file system, you'd do... file:/alfresco/module/org/icarbasel/module/KnowledgeCenter/validation/xhtml1-strict.dtd Jake Kaspar Fischer wrote: Hi! I am using

Validation using local copy of DTD

2007-11-07 Thread Kaspar Fischer
Hi! I am using the Xerces parser to validate XHTML files input by the user (via the WYSIWYG editor TinyMCE). So I am dealing with documents that look like this: www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> Ttile So