xHTML problem again

Petr Stehlik <[email protected]>
Newsgroups gmane.comp.java.enhydra.xmlc,gmane.comp.java.enhydra.general
Message-ID <[email protected]>
Hi,

I have been trying to compile and produce valid XHTML 1.0 with Enhydra
5.0 for some time. I thought that everything was working OK but recently
I tried to use my own URLRewriter and it didn't work. So I traced it
down to

private static DocumentInfo BaseDOMFormatter:findDocumentInfo(Document
document)

This function checks the document (which is
org.enhydra.xml.xhtml.dom.xerces.XHTMLDocumentImpl) and finds out that
it's neither istanceof DocumentInfo nor instanceof XMLObjectLink. Thus
this function returns null as the DocumentInfo and thanks to that the
URLRewriter is ignored.

What can I do to be able to use the URLRewriter? What is wrong with the
XHTML - why it's not instanceof DocumentInfo? Can I fix this with an
XMLC options or is it a matter of patching Enhydra source?

Thanks.

Petr
-- 
Petr Stehlik <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.