unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Vincent Lefevre <vincent@vinc17.net>
Cc: 44874@debbugs.gnu.org
Subject: bug#44874: 27.1; nXML: error when setting the xhtml5.rnc schema
Date: Thu, 26 Nov 2020 11:43:17 +0100	[thread overview]
Message-ID: <87a6v4xut6.fsf@gnus.org> (raw)
In-Reply-To: <87r1ohmawq.fsf@zira.vinc17.org> (Vincent Lefevre's message of "Wed, 25 Nov 2020 21:36:21 +0100")

Vincent Lefevre <vincent@vinc17.net> writes:

> Create a file foo.xml containing: <root></root>
>
> Then type "emacs -Q foo.xml", and in the XML menu,
> Set Schema → File..., and select xhtml5.rnc, which
> can be obtained here:
>
>   https://github.com/emacsmirror/html5-schema
>
> (described as "Add HTML5 schemas for use by nXML").
> I get the following error:
>
> Incorrect schema. Unknown datatype library http://whattf.org/datatype-draft

I'm unable to reproduce this bug in Emacs 27.2 and Emacs 28.

Here's what I did:

cd /tmp
git clone https://github.com/emacsmirror/html5-schema
emacs -Q foo.xml
M-x rng-set-schema-file RET /tmp/html5-schema/xhtml5.rnc RET

It asks me whether to save the location, and I answer "y", and I get no
error.

Do you have a more precise recipe for reproducing the error?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2020-11-26 10:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-25 20:36 bug#44874: 27.1; nXML: error when setting the xhtml5.rnc schema Vincent Lefevre
2020-11-26 10:43 ` Lars Ingebrigtsen [this message]
2020-11-26 15:02   ` Vincent Lefevre
2020-11-27  8:09     ` Lars Ingebrigtsen
2020-11-27  8:59       ` Vincent Lefevre
2020-11-29 10:07         ` Lars Ingebrigtsen
2020-11-29 13:48           ` Vincent Lefevre
2020-11-29 12:42 ` Andy Moreton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a6v4xut6.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=44874@debbugs.gnu.org \
    --cc=vincent@vinc17.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).