logo       

xHTML problem again: msg#00005

java.enhydra.general

Subject: xHTML problem again

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 <pstehlik@xxxxxxxxxx>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise