Re: Maybe there is bug in template editing (XTiger)

Hi Joel,

We're working on this problem. Thanks for the report.

On Thursday 21 June 2007 11:36, Joel Lehtonen wrote:
> I am using CVS version of Amaya (updated today) on Fedora Core 6. I created
> a new document from the following xtd file:
>
> <?xml version="1.0" encoding="utf-8"?>
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:xt="http://ns.inria.org/xtiger">
> 	<head>
> 		<title>Testing bag</title>
> 		<xt:head version="0.9" templateVersion="1.0">
> 		</xt:head>
> 	</head>
>
> 	<body>
> 		<xt:bag label="sisus" types="p">
> 			<p>Testing...</p>
> 		</xt:bag>
> 	</body>
> </html>
>
> When I press return at the end of the "Testing..." paragraph, Amaya creates
> a new paragraph but when I type something in there, new paragraph
> disappears and characters I've typed appears to the end of
> "Testing"-paragraph.
>
> But when I change the line: <xt:bag label="sisus" types="p">
> to this: <xt:bag label="sisus" types="anyElement">
> inserting paragraphs works fine. I think this is a bug.
>
> I want to allow only creation of new paragraphs, not any other xhtml
> elements. According to specs at
> http://www.w3.org/Amaya/Templates/XTiger-spec.html this should work.
>
> Thanks in advance! And thanks to Laurent for fixing the bug I reported on
> Tuesday :-)

-- 
     Irène.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France

Received on Wednesday, 27 June 2007 07:11:24 UTC