Bug 9842 - "65533" is not a character number in the document character set
Summary: "65533" is not a character number in the document character set
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Documentation (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2007-02-01 20:50 UTC by Ed Catmur
Modified: 2011-10-15 15:58 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
65533-URL-interpolation.patch (2.50 KB, patch)
2007-03-13 15:23 UTC, Ed Catmur
no flags Details | Splinter Review
65533-URL-interpolation.patch (1.70 KB, patch)
2007-03-13 15:32 UTC, Ed Catmur
no flags Details | Splinter Review

Description Ed Catmur 2007-02-01 20:50:11 UTC
Building from current git (20070202):

Using catalogs: /etc/sgml/sgml-docbook-4.2.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html
Working on: /var/tmp/portage/app-doc/xorg-docs-1.4_pre20070202/work/xorg-docs-1.4_pre20070202/sgml/fonts/fonts.sgml
jade:/var/tmp/portage/app-doc/xorg-docs-1.4_pre20070202/work/xorg-docs-1.4_pre20070202/sgml/fonts/fonts.sgml:1923:3:E: "65533" is not a character number in the document character set
jade:/var/tmp/portage/app-doc/xorg-docs-1.4_pre20070202/work/xorg-docs-1.4_pre20070202/sgml/fonts/fonts.sgml:1923:3:E: "65533" is not a character number in the document character set
make[2]: *** [fonts.txt] Error 8
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [fonts.pdf] Error 8
make[2]: Leaving directory `/var/tmp/portage/app-doc/xorg-docs-1.4_pre20070202/work/xorg-docs-1.4_pre20070202/sgml/fonts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-doc/xorg-docs-1.4_pre20070202/work/xorg-docs-1.4_pre20070202/sgml'
make: *** [all-recursive] Error 1

Offending lines are sth like:

1920 <Para>
1921 Unicode (<ULink
1922 URL="http://www.unicode.org"
1923 >&#65533;</ULink
1924 >) is a coded character
1925 set with the goal of uniquely identifying all characters for all

Obviously, &#65533; is intended to interpolate the URI - is this a holdover from linuxdoc?

Currently I'm using this sed:

$ find sgml -name '*.sgml' | xargs -n1 \
sed -e '/^URL=".*"$/{h;s/^URL="\(.*\)"$/>\1<\/ULink/;x}/^>&#65533;<\/ULink$/g' \
-i

There's only 4 instances of this breakage, so I can post a patch if preferred.
Comment 1 Daniel Stone 2007-02-27 01:36:06 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 2 Ed Catmur 2007-03-13 15:23:08 UTC
Created attachment 9126 [details] [review]
65533-URL-interpolation.patch

Patch.
Comment 3 Ed Catmur 2007-03-13 15:32:38 UTC
Created attachment 9127 [details] [review]
65533-URL-interpolation.patch

oops, double patch

my downstream: http://bugs.gentoo.org/show_bug.cgi?id=170800
Comment 4 Alan Coopersmith 2008-05-06 17:49:50 UTC
Thanks - sorry for the delay, patch applied to git master.

commit b3c82abd3b1124dd27ab26a62b4135d74a24ed21
Author: Ed Catmur <ed@catmur.co.uk>
Date:   Tue May 6 17:49:20 2008 -0700

    Bug 9842: "65533" is not a character number in the document character set
    
    X.Org Bugzilla #9842 <https://bugs.freedesktop.org/show_bug.cgi?id=9842>
    Patch #9127 <https://bugs.freedesktop.org/attachment.cgi?id=9127>
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>



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.