You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Andrew Golightly <A....@dcs.shef.ac.uk> on 2006/08/30 15:54:28 UTC

horizontal lines

Hi all,

I'm editing a page using one form. I just want a horizontal line, but on 
inserting the html for it, I get:

unknown element "hr" from namespace "http://www.w3.org/1999/xhtml"

org.apache.cocoon.ProcessingException: Error calling continuation at 
file:/opt/lenya/tao-production/lenya-1.4.x/build/lenya/webapp/lenya/usecases/usecases.js:257:-1 
at <map:call> - 
file:/opt/lenya/tao-production/lenya-1.4.x/build/lenya/webapp/lenya/usecases/usecase.xmap:97:39 
at <map:mount> - 
file:/opt/lenya/tao-production/lenya-1.4.x/build/lenya/webapp/lenya/usecase.xmap:56:128 
at <map:mount> - 
file:/opt/lenya/tao-production/lenya-1.4.x/build/lenya/webapp/global-sitemap.xmap:319:105 
at <map:mount> - 
file:/opt/lenya/tao-production/lenya-1.4.x/build/lenya/webapp/sitemap.xmap:647:106

Is there a substitute for it, like <b> is now <strong> ??

thanks,
Andrew


-- 
Life is a very special occasion!


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: horizontal lines

Posted by Andreas Hartmann <an...@apache.org>.
Andrew Golightly wrote:
> Hi all,
> 
> I'm editing a page using one form. I just want a horizontal line, but on 
> inserting the html for it, I get:
> 
> unknown element "hr" from namespace "http://www.w3.org/1999/xhtml"

The reason is that modules/xhtml/resources/schemas/xhtml.rng
references xhtml-basic.rng (instead of e.g. xhtml-strict.rng).
The basic schema doesn't include the pres.rng module, which
declares the <hr> element. You might change this in your working
copy or file a bug.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org