Re: XML error: <superscript> within <guibutton>
- From: Breda McColgan <breda mccolgan sun com>
- To: Eric Baudais <baudais kkpsi org>
- Cc: gnome-doc-list gnome org
- Subject: Re: XML error: <superscript> within <guibutton>
- Date: Wed, 05 Mar 2003 15:42:02 +0000
Hi Eric,
thank you for replying so promptly :)
Unfortunately, the workaround you suggested gives me a similar error:
"
gcalctool.xml:438: validity error: Element literal is not declared in
guibutton list of possible children
<guibutton><literal>x<superscript>2</superscript></literal></guibutton>
"
The only tags allowed within <guibutton> are the following:
- <accel>
- <indexterm>
- <inlinegraphic>
- <inlinemediaobject>
- <replaceable>
Any other ideas, anyone?
I've logged an RFE:
https://sourceforge.net/tracker/?func=detail&atid=373747&aid=697432&group_id=21935
Regards,
Breda.
Eric Baudais wrote:
>
> Breda-
>
> While I do not know the context of the text I believe this will work:
> <guibutton><literal>x<superscript>2</superscript></literal></guibutton>
>
> This is not a bug in the DocBook DTD nor is it a bug in xmllint. The
> DocBook DTD does not allow the tag <superscript> within the
> <guibutton> tag. You are welcome to file a RFE with the standards
> body OASIS to justify the addition of the <superscipt> and <subscript>
> tags as children of the <gui*> tags.
>
> Eric Baudais
>
> On Tue, Mar 04, 2003 at 06:49:12PM +0000, Breda McColgan wrote:
> > Hello all,
> >
> >
> > xmllint returns the following error when I embed a <superscript> tag
> > within a <guibutton> tag:
> >
> > "
> > gcalctool.xml:438: validity error: Element superscript is not declared
> > in guibutton list of possible children
> >
> > <guibutton>x<superscript>2</superscript></guibutton>
> > "
> >
> >
> >
> > I get the same error if I embed the <superscript> tag within a
> > <guilabel> tag.
> >
> >
> >
> > Does anyone have any idea how to work around this so that the XML is
> > valid and the text is actually rendered as superscript? I'd rather not
> > use a caret (^) symbol, if possible.
> >
> >
> > Meanwhile, I'll log a bug against the Docbook 4.1.2 DTD.
> >
> >
> >
> > Thank you,
> > Breda.
> > _______________________________________________
> > gnome-doc-list mailing list
> > gnome-doc-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gnome-doc-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]