Sorry for ennoyance ... I found my mistake and solved the problem... 
The only page which used the dtd was the authoring login page ...
I was including data, using 

<map:match pattern="**/data.xml">
  <map:generate src="http://somehost/datasrc.xml"/>
  <map:serialize type="xml"/>
</map:match>

<map:match pattern="**/data">
  <map:generate src="http://localhost/myPub/{1}/data.xml"/>
  <map:transform .../>
  <map:serialize .../>
</map:match>

In this case, whenever I call http://localhost/myPub/authoring/data my
browser gets the login form, then the page I want. I was forgetting that it
would act the same with tomcat which should have to authenticate to himself.

It now works really better since I replaced {1} with some constant data and
updated my pipelines to match it. 

<map:match pattern="incDir/data.xml">
  <map:generate src="http://somehost/datasrc.xml"/>
  <map:serialize type="xml"/>
</map:match>

<map:match pattern="**/data">
  <map:generate src="http://localhost/myPub/incDir/data.xml"/>
  <map:transform .../>
  <map:serialize .../>
</map:match>

I'm using src="http..." to catch parse errors in the imported data.

Yvan

-----Message d'origine-----
De : Renaud Richardet [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 25 juillet 2005 16:33
À : [email protected]
Objet : Re: ? http://www.w3.org/TR/html4/loose.dtd error ?

Hello Janet,

What page are you trying to load? What did you modify in your 
publication? Did you modify some of the xsl's (especially the 
*2html.xsl) that build Lenya's pages?

You can also try to temporarily deactivate the dtd (comment out the
<doctype-public>-//W3C//DTD HTML 4.01 Transitional//EN</doctype-public>
<doctype-system>http://www.w3.org/TR/html4/loose.dtd</doctype-system>
in src/webapp/sitemap.xmap) and see where the error comes from.

HTH,
Renaud


-- 
Renaud Richardet
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
office +1 857 776-3195                     mobile +1 617 230 9112
[EMAIL PROTECTED]                   http://www.wyona.com



Janet Yvan wrote:

> Hi.
>
> Can anyone explain this to me please ?
>
> I’m using Lenya 1.2.4 on Tomcat 5.0.28 / Java 1.4.2 running on a w2003 
> box…
>
> Thanks in advance …
>
>
>   *An Error Occurred*
>
> The declaration for the entity "HTML.Version" must end with '>'.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to