logo       

[xmlc] xhtml <link /> and xmlc: msg#00001

java.enhydra.xmlc

Subject: [xmlc] xhtml <link /> and xmlc

Hi,

I had really strange results in Barracuda with a template model on a new
document, and after simplifying the doc, I think I encounter what seems
like a bug in xmlc.

If I put a tag like this :

<link href="css/mystyle.css" rel="stylesheet" type="text/css" />

in my xhtml document, the head get around the body :) Well, more
precislely, when rendering (in Barracuda) I get something like :

<HTML xmlns="http://www.w3.org/1999/xhtml";>
<head>
<link href="css/mystyle.css" rel="stylesheet" type="text/css">
<body>
<p>my page</p>
</body>
</head>
</html>

This result make BTemplate quite confused, especially when it encounter
another self closing element, like a <img />.

If I put :

<link href="css/mystyle.css" rel="stylesheet" type="text/css"></link>

or even (but here my doc is not well formed)

<link href="css/mystyle.css" rel="stylesheet" type="text/css">

things work...

Or is there something special to do for xmlc to work with xhtml
documents ?

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