How to identify a blank line with XML?

Hello everybody,

is there a way to identify a blank line with XML (grammar.xml)?

The use case given:

If the user produces two blank lines between two paragraphs (which means that he hits ENTER three times), then there should be given an error since only one blank line betwwen two paragraphs is correct.

Example (for finding an error):


Dies ist der erste Testsatz.

Dies ist der zweite Testsatz

Example (correct way):


Dies ist der erste Testsatz.

Dies ist der zweite Testsatz

Thanks and regards,

Till

On 2013-09-02 12:38, tjf [via LanguageTool User Forum] wrote:

is there a way to identify a blank line with XML (grammar.xml)?

No, the elements can only refer to non-whitespace, the only
exception is described at
http://wiki.languagetool.org/tips-and-tricks#toc13

Regards
Daniel