WineHQ: XML parsing problem

Francois Gouget fgouget at free.fr
Sat Sep 6 05:41:40 CDT 2003


I noticed another problem in the WWN 186. At some point we have:

 * get some decent icons for toolbar (I don't feel like a graphic designer)
 *

Instead of:

 * get some decent icons for toolbar (I don't feel like a graphic designer)
 * <put here what you want>

The reason is that

<li> &lt;put here what you want&gt;</li></ul></p><p>

is transformed into:

<li> <put here="" what="" you="" want=""></put></li>


I assume this is because the XML parser processes &lt; and &gt; before
giving them to the HTML generator which then sees a single tag.

How are such things supposed to be handled? Would the following work?


Changelog:

 * wwn/wn20030905_186.xml

   Prevent &lt; and &gt; from being processed too soon.


Index: wwn/wn20030905_186.xml
===================================================================
RCS file: /home/wine/lostwages/wwn/wn20030905_186.xml,v
retrieving revision 1.1
diff -u -r1.1 wn20030905_186.xml
--- wwn/wn20030905_186.xml	5 Sep 2003 14:28:24 -0000	1.1
+++ wwn/wn20030905_186.xml	6 Sep 2003 10:24:12 -0000
@@ -108,7 +108,7 @@
 help is required to:
 <ul>
 <li> get some decent icons for toolbar (I don't feel like a graphic designer)</li>
-<li> &lt;put here what you want&gt;</li></ul></p><p>
+<li> &amp;lt;put here what you want&amp;gt;</li></ul></p><p>

 downside: the get_symbol function in system.c is really ugly. I wouldn't
 be surprised if Alexandre doesn't like it (I don't like it myself). A


-- 
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                  In a world without fences who needs Gates?
-------------- next part --------------
Index: wwn/wn20030905_186.xml
===================================================================
RCS file: /home/wine/lostwages/wwn/wn20030905_186.xml,v
retrieving revision 1.1
diff -u -r1.1 wn20030905_186.xml
--- wwn/wn20030905_186.xml	5 Sep 2003 14:28:24 -0000	1.1
+++ wwn/wn20030905_186.xml	6 Sep 2003 10:24:12 -0000
@@ -108,7 +108,7 @@
 help is required to:
 <ul>
 <li> get some decent icons for toolbar (I don't feel like a graphic designer)</li>
-<li> &lt;put here what you want&gt;</li></ul></p><p>
+<li> &amp;lt;put here what you want&amp;gt;</li></ul></p><p>
 
 downside: the get_symbol function in system.c is really ugly. I wouldn't 
 be surprised if Alexandre doesn't like it (I don't like it myself). A 


More information about the wine-patches mailing list