Page 1 of 1

Author mode - inserting an attribute with & character

Posted: Tue Mar 16, 2010 7:13 pm
by honyk
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

Re: Author mode - inserting an attribute with & character

Posted: Tue Mar 16, 2010 8:02 pm
by adrian
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

Re: Author mode - inserting an attribute with & character

Posted: Mon Aug 30, 2010 2:54 pm
by stefan
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