Hi, 

Let me try to explain it a bit better (I hope). 

My own schema is based-on DocBook 5, with only minor additions. So I copied the 
/config/docbook5 folder and start replacing the namespace, and add my own 
schema (RELAX NG compact). When opening my own XML file, it can validate the 
file. So I know the addon for custom schema works properly.

I replaced all docbook namespace with my own. 

To explain the issue a bit in details: 

I'm adding list using the button "Add orderedlist" in the toolbar. This should 
be a simple operation.

Once the list is added, I get the numbered list starting with "1". I can see 
the element "orderedlist" is selected/highlighted. This part works just fine. 

The only weird part is the cursor can never be moved into this gray 
selected/highlighted box. I wanted to add text to it but I couldn't. 

The location of the cursor always stays at where it was before I added the 
list, or somewhere else. I tried selecting the ordered list again but the 
cursor is still not moved here. 

If I start adding text when the ordered list "1." is highlighted, the text is 
added somewhere else (wherever the cursor is at). 

I hope this will help. If this is not helpful, would sending my addon folder 
directly to you an option?

Please advice. Thank you. 

- Swee-Doon

-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: Wednesday, December 02, 2009 10:57 PM
To: Goh, Swee-Doon (GPMS)
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] Unable to enter text into list item

Goh, Swee-Doon (GPMS) wrote:
> 
> I modified the 'addon/config/docbook5" to my own '/addon/my_own". 

I'm sorry but I'm not sure to understand what you have exactly done.
Therefore I cannot really help you.



> After
> replacing the docbook namespace to my own namespace, most buttons seem
> to be working just fine. However when I'm adding unordered list, ordered
> list, the cursor to enter text is not inside the list item itself.
> 
>  
> 
> I added a list item after the "end of para", the view shows a correct
> numbered list and highlighted box. But the text ("My list item text ")
> is still added to the "end of para".
> 
>  
> 
>  .... end of para. My list item text.
> 
>             1.
> 
>             2.
> 
>             3.
> 
>  
> 
> I can never enter any text into any of the list (order / unorder).
> 
>  
> 
> What causes this and how do I fix this?
> 

Just guesses:

* Please make sure that you have replaced the docbook namespace by your
own namespace *everywhere* in *all* the DocBook 5 configuration files
(.xxe, .incl).

* Also make the same modifications in *all* the CSS stylesheets
(addon/config/docbook5/css/*).





Reply via email to