Author mode - inserting an attribute with & character

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
honyk
Posts: 168
Joined: Wed Apr 29, 2009 4:55 pm

Author mode - inserting an attribute with & character

Post by honyk » Tue Mar 16, 2010 7:13 pm

Hello,

if in DocBook document for example the value of URL link is inserted into the appropriate attribute in Attributes panel and it has & character in it, the vendor attribute of a parent element is affected by it.

Step by step procedure:
1. Open new docBook document. Place ulink element (from Elements palette) into any para.
2. Place e.g. http://server.com/index.jsp?locale=en&param=value into the url attribute.
3. In log window there is displayed error "The reference to entity "param" must end with the ';' delimiter."
4. If you click on text in para, in attributes palette you can see the vendor attribute with inserted url in it. This param is not bold so it seems as not used in XML.
5. If the value of the vendor attribute is deleted, this attribute is displayed in bold.
6. If this attribute is removed (right mouse click + Remove), also url attribute of ulink is cleared.

I know that & character cannot be used in XML directly, but it cannot be obvious to everyone. And he can be puzzled a bit what is going on.

Regards,
Jan

adrian
Posts: 2548
Joined: Tue May 17, 2005 4:01 pm

Re: Author mode - inserting an attribute with & character

Post by adrian » Tue Mar 16, 2010 8:02 pm

Hello,

Thank you for reporting this problem.
I have added it to our bug tracking tool and we will resolve it in a future version.
The problem is that the table remains in editing mode even after selecting another element, that should not happen.

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

stefan
Posts: 45
Joined: Wed Jan 08, 2003 9:43 am
Contact:

Re: Author mode - inserting an attribute with & character

Post by stefan » Mon Aug 30, 2010 2:54 pm

The problem is fixed in the current development stream and the fix will be generally available in v12 release.
Thank you for your support.
Best regards,
Stefan Vasile
http://www.oxygenxml.com

Post Reply