Maybe there is bug in template editing (XTiger)

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 :-)

-- 
Joel Lehtonen

Received on Thursday, 21 June 2007 09:36:43 UTC