logo       

Re: [xmlc] Problem with xmlc 2.3 (and more probably with nekohtml): msg#00002

java.enhydra.xmlc

Subject: Re: [xmlc] Problem with xmlc 2.3 (and more probably with nekohtml)

I think this is one more thing that should be brought up with Andy Clark, of NekoHTML. BTW, he sent me an email saying he has been very busy, but that he might get some time this weekend to consider the patches I sent him for inclusion in a possible new release. Franck, can you contact him about this issue? You should have his email. If not, send me a personal email and I'll provide it for you.

That said, if you are using XHTML, you should really just use the XHTML DOM, which will use the XML parser, not the HTML parser. See Diez' Barracuda contrib app for configurations. It uses the XHTML DOM. You can continue to use the HTML interfaces because, while the XHTML DOM defines its own interfaces, they extend the HTML interfaces where they can.

Jake

On Wed, 11 Jul 2007 18:42:05 +0200
Franck Routier <franck.routier@xxxxxxxxx> wrote:
Hi,

I have a problem with a given markup in a Barracuda app.

When using xmlc2.3 alongside the patched nekohtml available in
Barracuda, I get a weird output :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml";>
<head>
<title id="main_title">ax Beta</title>
<meta content="text/html; charset=utf-8"
http-equiv="Content-Type" />
<link href="css/ax.css" rel="stylesheet" type="text/css" />
<link href="css/calendar.css" rel="stylesheet" type="text/css" />
<link href="css/boxes.css" rel="stylesheet" type="text/css" />
</head>
</html>

No <body>... My initial markup successfully passes the W3C xhtml stict
validation.
After many tries, I have found the culprit markup :

<table><tr>
<td>&nbsp;</td>
</tr></table>

Putting a &nbsp; outside of a table seems to works, but this particular
markup (a &nbsp; inside a td) breaks things.

Can anyone reproduce this behaviour, and does this seem like something
that could be corrected ?

Franck






--
You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise