[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44874: 27.1; nXML: error when setting the xhtml5.rnc schema
From: |
Lars Ingebrigtsen |
Subject: |
bug#44874: 27.1; nXML: error when setting the xhtml5.rnc schema |
Date: |
Thu, 26 Nov 2020 11:43:17 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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
bug#44874: 27.1; nXML: error when setting the xhtml5.rnc schema, Andy Moreton, 2020/11/29