My answer assumes that you are working on a structurally valid document (no red icon).
On 03/27/2012 08:48 AM, Daniel Dekany wrote: > When I enter xlink:href as attribute name and I click that green > checkmark button (or hit enter) in the attributes panel, it just won't > do anything. I guess XXE thinks that adding that attribute would > violate validation rules. But there are some other "link" elements in > the same document that already have xlink:href attribute, and those > can be edited, also XXE says the document is valid. I can copy-paste > those elements to work this problem around... but it's just not right. Your are talking about an attribute xlink:href, but you are not saying which element contains it. * If this element is <link>: A link element must have either attribute linkend or attribute xlink:href but not both. If a link element already has attribute linkend, the Attribute tool will not allow you to add attribute xlink:href. You must *force* the removal of attribute linkend first. This is not convenient, but see below for convenient alternatives. * If this element is not <link>: You can add attribute xlink:href with a problem, so I cannot reproduce the problem you describe. ------------------------------------------------------ How to easily create <link>s: Note that <link> elements of both types --internal and external -- are more easily created using the Edit tool (or the corresponding DocBook toolbar button). That is, You can insert at caret position: "link" (which is <link linkend="???">) or "link(href)" (which is <link xlink:href="???">) OR You can convert some text or some ``compatible'' elements to: "link" (which is <link linkend="???">) or "link(href)" (which is <link xlink:href="???">) ------------------------------------------------------ > > Another thing... When I type a wrong attribute name, XXE says nothing > when I try to add it. It should pop up some error message, telling > what the problem is. Or when it can't figure that out, it should at > least say that it couldn't add the attribute due to validation rule > violations, as now the user possibly doesn't even notice that the > attribute wasn't added. I cannot reproduce this problem with a valid document. May be you are working on an invalid document. In such case, XXE should report the problem at document save time. > > XXE 4.7.0, http://docbook.org/ns/docbook, version="5.0" > XXE v4 is no longer supported. So may be the behavior I have described applies only to more recent releases of XXE. -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

