Bug 13870 - openclipart search feed result XML contain undefined entities
openclipart search feed result XML contain undefined entities
Status: RESOLVED NOTOURBUG
Product: openclipart.org
Classification: Unclassified
Component: clipart
unspecified
Other All
: highest critical
Assigned To: default user for a product
https://bugs.launchpad.net/inkscape/+...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-30 14:47 UTC by Bryce Harrington
Modified: 2010-08-18 03:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bryce Harrington 2007-12-30 14:47:25 UTC
When doing an import from openclipart via Inkscape for example, we see:

search for "lion" - no list is shown, the console shows:

/tmp/ocalfeed.xml:73: parser error : Entity 'uuml' not defined
      <content:encoded>Coat of arms of Russion, Z&uuml;rich, Switzerland</conten
                                                       ^
/tmp/ocalfeed.xml:86: parser error : Entity 'uuml' not defined
      <content:encoded>Coat of arms of Andelfingen, Z&uuml;rich, Switzerland</co
                                                           ^
/tmp/ocalfeed.xml:125: parser error : Entity 'auml' not defined
      <content:encoded>Coat of arms of Pf&auml;ffikon, Z&uuml;rich, Switzerland<
                                               ^
/tmp/ocalfeed.xml:125: parser error : Entity 'uuml' not defined
      <content:encoded>Coat of arms of Pf&auml;ffikon, Z&uuml;rich, Switzerland<
                                                              ^
/tmp/ocalfeed.xml:164: parser error : Entity 'szlig' not defined
      <content:encoded>Wappentier von Gie&szlig;en: roter L&ouml;we mit schwarze
                                                ^
/tmp/ocalfeed.xml:164: parser error : Entity 'ouml' not defined
      <content:encoded>Wappentier von Gie&szlig;en: roter L&ouml;we mit schwarze
                                                                 ^
/tmp/ocalfeed.xml:164: parser error : Entity 'uuml' not defined
tent:encoded>Wappentier von Gie&szlig;en: roter L&ouml;we mit schwarzen Fl&uuml;
                                                                               ^

This constitutes a good share of all ocal searches, so it makes this feature almost useless in Inkscape.  It's extremely high priority for Inkscape 0.46.

Unfortunately this is an ocal bug rather than an Inkscape bug; entites like &uuml; etc. are specific to HTML and don't exist in XML. If the OCAL uses them then it needs to define the values for those entities in an internal DTD subset.

For original report, please see:  https://bugs.launchpad.net/inkscape/+bug/179326
Comment 1 Tollef Fog Heen 2010-08-18 03:23:54 UTC
Closing all openclipart bugs as openclipart is now on launchpad, as per request from  Jon Philips.