[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comme
From: |
Lars Ingebrigtsen |
Subject: |
bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comments argument |
Date: |
Sat, 14 Apr 2018 15:11:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
> Why not update the docs, as Noam suggested last June?
Well, it would be nice if we could just get this to work, and it just
occurred to me that supporting this option shouldn't be that difficult:
We can just pre-treat the XML before parsing it.
That is, if discard-comments is mentioned, we can just go through the
buffer and delete all the comments before we point libxml towards it.
On the other hand, we could deprecate that option (since it's rather
nonsensical the way it is now), and just provide a Lisp convenience
function to delete the comments if you don't want comments? I think
that sounds cleaner and much easier to implement.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comments argument, Lars Ingebrigtsen, 2018/04/13
- bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comments argument, Eli Zaretskii, 2018/04/14
- bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comments argument,
Lars Ingebrigtsen <=
- bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comments argument, Eli Zaretskii, 2018/04/14
- bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comments argument, Lars Ingebrigtsen, 2018/04/14
- bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comments argument, Eli Zaretskii, 2018/04/14
- bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comments argument, Lars Ingebrigtsen, 2018/04/14
- bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comments argument, Noam Postavsky, 2018/04/14
- bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comments argument, Lars Ingebrigtsen, 2018/04/14
- bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comments argument, Eli Zaretskii, 2018/04/14
- bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comments argument, Lars Ingebrigtsen, 2018/04/14
- bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comments argument, Eli Zaretskii, 2018/04/14
- bug#27178: 26.0.50; libxml-parse-*-region functions ignore discard-comments argument, Noam Postavsky, 2018/04/14