On 1/4/2010 1:06 PM, Hussein Shafie wrote:
> Andy Black wrote:
>   
>> In our XXE configuration files, we have an element (called 'example') 
>> with an attribute (called 'num') that is an ID according to the DTD.  We 
>> show this attribute via the CSS configuration like this:
>>
>> example:before
>> {
>>     content: "("
>>     text-field(attribute, num, columns, 10, font-size, small)
>>     ") "
>>     ;
>>     background-color:example-background-color();
>> }
>>
>> If a user types an invalid ID in this text field (say by inserting a 
>> space in the middle: "xGoyo Jotama"), then XXE nicely beeps and does not 
>> let the user go on.  If, however, the user does not understand what XXE 
>> is trying to say and chooses to click on the File Save tool bar button, 
>> the invalid ID is saved in the file and the user can merrily go on to 
>> other editing.  (XXE does indeed immediately record the fact that this 
>> is wrong by showing the error icon in the status bar.  Unfortunately, 
>> some of our users do not necessarily pay attention to this icon.)
>>     
>
> May be you should turn on the "Automatically show Validity tool" option
> See
> http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.guiutil.PreferencesEditorDialog.html#validateOptions
>
>   

Good idea.  Thanks!

>
>> or is this possibly a 
>> bug?
>>
>>     
>
> We knew about this behavior. I'm sorry to inform you that we currently
> don't see how to improve the situation.
>   

OK, thanks for letting me know.

--Andy

Reply via email to