[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4067: nxml-mode missed invalid element in document
From: |
Lars Ingebrigtsen |
Subject: |
bug#4067: nxml-mode missed invalid element in document |
Date: |
Thu, 21 Jan 2021 17:33:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Neal Lester <neal@3dsafety.com> writes:
> In my rnc schema file, I have an element "paragraph" defined as:
>
> paragraph = element import:paragraph { palette?, (text | (english,
> relevance?)) }
>
> palette = attribute palette { text }
>
> english = element import:english { text }
>
> relevance = element import:relevance { always | (if_exposure |
> not_exposure | if_exposure_code | code_equal_or_less_than |
> code_equal_or_greater_than | in_state | employees_in_state |
> max_employees_in_state | if_exposure_universe | not_exposure_universe |
> or | and | eiffel | is_required | not_is_required | not_in_state )+ }
>
> In my document I had empty "paragraph" elements but nxml-mode did not
> identify the document as invalid.
(I'm going through old bug reports that unfortunately got no response at
the time.)
To ensure that we're looking at the same problem, do you have a complete
test case, starting from "emacs -Q"? That is, the rnc schema file and
the XML file that nxml mode does the wrong thing with?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#4067: nxml-mode missed invalid element in document,
Lars Ingebrigtsen <=