lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] Re: xml entities in wxxrc [Was: Generating screenshots automatical


From: Vaclav Slavik
Subject: [lmi] Re: xml entities in wxxrc [Was: Generating screenshots automatically]
Date: Mon, 09 Mar 2009 20:37:47 +0100

On Mon, 2009-03-09 at 19:23 +0000, Greg Chicares wrote: 
> <item helptext="Separate-account rate is net of M&amp;E charge and investment 
> management fee">Net rate</item>
> 
> 'tn0014.txt' is missing from the 20090308 snapshot (thirteen and
> fifteen are there, but not fourteen);

It was removed and replaced with the XRC format spec in the manual
(http://docs.wxwidgets.org/trunk/overview_xrcformat.html), see the note
in index.txt.

> | String
> | ------
> | Any text. Some characters have special interpretation and are translated
> | by XRC parser according to this table:
> |     "_"    -> "&"  ('&' is used to underline e.g. menu items in wxWidgets)

This was fixed in the spec rewrite. "helptext" is now described as

        helptext - String
        Contextual help for this radio button (default: none).

and the String type as 

        An unformatted string. Unlike with Text, no escaping or
        translations are done.

In other words, "_" has no special meaning in "helptext". (As a side
note, it wouldn't be appropriate to use "_" to express "M&E charge",
it's only meant as a nicer way to express accelerators in XML/XRC.)

> Is it these five
>   &amp; &apos; &gt; &lt; &quot;
> that are defined in the xml standard?

Yes, these and any other defined in the XML document. This is XML as
usual and is outside of scope of XRC format description. You could say
XML spec is a dependency of XRC spec and the whole entities thing is
covered by the introductory part of XRC format description:

        XRC file is a XML file

Regards,
Vaclav





reply via email to

[Prev in Thread] Current Thread [Next in Thread]