On 12/23/05, Rovi <[EMAIL PROTECTED]> wrote:
> How to I place a link that opens external to the current window? Normally I
> would use target=_blank, but in Kupu I don't see any option to specify this
> option. Also, when I try using BXE to specify the link in Firefox, I get a
> message "a is not allowed as a child of a". If I try using source editor to
> change target of the link, when i save, I get "RELAX NG Validation failed:"
> error in red, with a bunch of other errors like:
> error: text not allowed here ....filename.xml:22:46:
> error: element "br" from namespace "http://www.w3.org/1999/xhtml"; not allowed
> in this context
> error: element "a" from namespace "http://www.w3.org/1999/xhtml"; not allowed
> in this context
> etc., etc.
> I had copy pasted the text from an HTML page to a text editor, and then pasted
> it in Kupu.
> I guess I am missing a big piece here - am I not supposed to copy paste text
> into Kupu??

Martin:
<a target="_blank"> is valid for strict:
http://www.w3.org/TR/xhtml1/dtds.html#a_dtd_XHTML-1.0-Strict

Rovi:
<a target=_blank> is not valid because it is missing quotes.  See the
example above.

I tested with Lenya1.2.2.  Create a link normally in Kupu.  Switch to
source (last icon).  Added target="_blank" to the A tag.  Exit Source.
 Save.  Exit.  Test link.  Worked fine.

And yes, the editors need to be revamped for usability.  Too much
simple stuff requires editing source code.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to