Well, personally, I think it's silly to give users a ditabase template
with a generic topic inserted and make them convert the tag to something
else. 

To my mind, it's much better delivering empty dita tags and letting the
user insert the element they want--assuming that inserting that element
will turn off lenient mode. But you STILL didn't answer my question :-)
Are elementTemplates supposed to be available when in lenient mode or
not? Again, if they were available, it would solve the problem of the
first inserted child coming in invalid.

Of course, the best solution to this problem (possibly avoiding the need
for lenient mode altogether) would be to prompt the user when there is a
choice of required elements.  A number of other editors have this
feature.  


-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Wednesday, March 29, 2006 1:19 AM
To: Mark Fletcher
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] RE: ditabase.dtd bug

Mark Fletcher wrote:
> I'm not sure you answered my question about elementTemplates. As I 
> said, my elementTemplates are valid. (But the document template is 
> not.)
> 
> Is it by design that elementTemplates are not available when editing 
> in lenient mode? If so, why not? It seems that this could smarten up 
> the "semi-dumb" behavior of lenient mode. :-) If this is not by 
> design, could I add this fix to the Wish List?
> 

I'm sorry but I don't understand why it would be useful to improve the
lenient mode, a feature which is almost never used.





Reply via email to