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 LehtonenReceived on Thursday, 21 June 2007 09:36:43 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:45 GMT