Bug 13870

Summary: openclipart search feed result XML contain undefined entities
Product: openclipart.org Reporter: Bryce Harrington <bryce>
Component: clipartAssignee: default user for a product <clipart>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: critical    
Priority: highest CC: lkundrak
Version: unspecified   
Hardware: Other   
OS: All   
URL: https://bugs.launchpad.net/inkscape/+bug/179326
Whiteboard:
i915 platform: i915 features:

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.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.