Bug 13870 - openclipart search feed result XML contain undefined entities
Summary: openclipart search feed result XML contain undefined entities
Status: RESOLVED NOTOURBUG
Alias: None
Product: openclipart.org
Classification: Unclassified
Component: clipart (show other bugs)
Version: unspecified
Hardware: Other All
: highest critical
Assignee: default user for a product
QA Contact:
URL: https://bugs.launchpad.net/inkscape/+...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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

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.