* bug#4067: nxml-mode missed invalid element in document
@ 2009-08-06 18:44 Neal Lester
2021-01-21 16:33 ` Lars Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Neal Lester @ 2009-08-06 18:44 UTC (permalink / raw)
To: bug-gnu-emacs
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.
Neal Lester
Cell: 408/348-1939
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4067: nxml-mode missed invalid element in document
2009-08-06 18:44 bug#4067: nxml-mode missed invalid element in document Neal Lester
@ 2021-01-21 16:33 ` Lars Ingebrigtsen
[not found] ` <CAH=g7+n7dqkP6imYzqGGD_KRzRuqTFWq+Ukmi34Op240XN+4gA@mail.gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-01-21 16:33 UTC (permalink / raw)
To: Neal Lester; +Cc: 4067
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4067: nxml-mode missed invalid element in document
[not found] ` <CAH=g7+n7dqkP6imYzqGGD_KRzRuqTFWq+Ukmi34Op240XN+4gA@mail.gmail.com>
@ 2021-01-25 23:47 ` Lars Ingebrigtsen
[not found] ` <CAH=g7+m5ohb0FgjY2RKfa0OYJU4yj5GAQEDgFxeZ-KUaVmG5ZA@mail.gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-01-25 23:47 UTC (permalink / raw)
To: Neal Lester; +Cc: 4067
Neal Lester <neallester@gmail.com> writes:
> I've attached the rnc files. I no longer have the broken xml files.
Thanks, but without an example XML file that reproduces the problem,
it's going to be more difficult to debug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#4067: nxml-mode missed invalid element in document
[not found] ` <CAH=g7+m5ohb0FgjY2RKfa0OYJU4yj5GAQEDgFxeZ-KUaVmG5ZA@mail.gmail.com>
@ 2021-01-27 1:24 ` Lars Ingebrigtsen
0 siblings, 0 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2021-01-27 1:24 UTC (permalink / raw)
To: Neal Lester; +Cc: 4067
Neal Lester <neallester@gmail.com> writes:
> I understand, but it's been what, almost 10 years? I fixed the problem
> xml at that time and have long since forgotten where the issue was.
It's unfortunate that this didn't receive more attention at the time,
but it sounds like we won't make any progress here now, so I'm closing
this bug report.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-01-27 1:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-06 18:44 bug#4067: nxml-mode missed invalid element in document Neal Lester
2021-01-21 16:33 ` Lars Ingebrigtsen
[not found] ` <CAH=g7+n7dqkP6imYzqGGD_KRzRuqTFWq+Ukmi34Op240XN+4gA@mail.gmail.com>
2021-01-25 23:47 ` Lars Ingebrigtsen
[not found] ` <CAH=g7+m5ohb0FgjY2RKfa0OYJU4yj5GAQEDgFxeZ-KUaVmG5ZA@mail.gmail.com>
2021-01-27 1:24 ` Lars Ingebrigtsen
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).