After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 339335 - Move to xml-1.1 to handle invalid characters
Move to xml-1.1 to handle invalid characters
Status: RESOLVED OBSOLETE
Product: libgsf
Classification: Core
Component: General
1.14.x
Other All
: Normal major
: ---
Assigned To: Jody Goldberg
Jody Goldberg
: 568919 (view as bug list)
Depends on:
Blocks: 339192
 
 
Reported: 2006-04-21 18:19 UTC by Morten Welinder
Modified: 2018-05-22 12:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Morten Welinder 2006-04-21 18:19:16 UTC
Please describe the problem:
A gnumeric cell with ^H in it is printed as such by libgsf with the warning

    g_warning ("Unknown char 0x%hhx in string", *cur);

Such a file cannot be read back.


Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:
The character should be dropped on the floor.


Does this happen every time?


Other information:
Comment 1 Morten Welinder 2006-04-21 18:20:32 UTC
See http://www.w3.org/TR/REC-xml/#NT-Char

[2]   	Char	   ::=   	#x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | [#x10000-#x10FFFF]	/* any Unicode character, excluding the surrogate blocks, FFFE, and FFFF. */

Comment 2 Morten Welinder 2006-04-22 02:11:41 UTC
I have installed a bandaid for this that simply drops the characters.
Yes, that does indeed suck, but until we can go to XML 1.1 I think we
are stuck with that.
Comment 3 Jody Goldberg 2006-09-24 01:24:54 UTC
What do we need to consider to jump to 1.1 ?
Comment 4 Morten Welinder 2006-09-27 14:32:08 UTC
A library to read it.
Comment 5 Morten Welinder 2009-02-04 20:43:53 UTC
*** Bug 568919 has been marked as a duplicate of this bug. ***
Comment 6 GNOME Infrastructure Team 2018-05-22 12:53:51 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libgsf/issues/1.