Chris, Dave,

The problem described in Debian bug report #385240 can be
reproduced using the following one-line XML document as a minimal
test case.

  <foo>&#xa0;</foo>

If I open that file in nXML mode, the following error message is
emitted and nXML fails to fontify the buffer contents --

  Internal nXML mode error in nxml-fontify (Cannot open load file
  /usr/share/emacs/site-lisp/nxml-mode/char-name/unicode/1D400-1D7FF)

The cause appears to be the following patch that Dave submitted
for bug #340637 and that was applied and released in the nxml-mode
20041004-6 package.

--- nxml-mode-20041004.orig/rng-auto.el
+++ nxml-mode-20041004/rng-auto.el
@@ -56,8 +56,7 @@
 
 (let* ((dir (file-name-directory load-file-name))
        (schema-dir (concat dir "schema/")))
-  (unless (member dir load-path)
-    (setq load-path (cons dir load-path)))
+  (add-to-list 'load-path dir 'append)
   (setq rng-schema-locating-files-default
        (list "schemas.xml"
              (abbreviate-file-name

I hope that change can either be refined/fixed or backed out and
that a new version of the package can be released soon. And in the
mean time, I wonder if bug #385240 maybe should be moved to Serious
or Important -- because as far as I can see, it breaks nxml
fontification in any XML file that contains character references.

  --Mike

-- 
Michael(tm) Smith
http://people.w3.org/mike/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to