Re: The mode parser doesn't like my <PROPS>...</PROPS> code.

Dale Anson <[email protected]>
Newsgroups gmane.editors.jedit.user
Message-ID <CAHrA0wCcNEtAL5KvbPv-187uqweeGo7Uz5rtopBhZ_-XyK30mQ@mail.gmail.com>
On the last <PROPERTY...> line you have an extra double quote at the
end of the line.

On Wed, Mar 1, 2023 at 12:49 AM J Leslie Turriff <[email protected]> wrote:
>
> Hello,
>         I'm getting the message,
> | "15:The content of element type "PROPS" must match "(PROPERTY)+".
> when I run the XML parser plugin against my mode file.  The <PROPS> section of my file is
> as follows:
> |  <PROPS>
> |    <PROPERTY NAME="commentStart"     VALUE="/*" />
> |    <PROPERTY NAME="commentEnd"       VALUE="*/" />
> |    <PROPERTY NAME="lineComment"      VALUE="--" />
> |    <PROPERTY NAME="noWordSep"        VALUE="_?!" />
> |    <PROPERTY NAME="wordBreakChars"   VALUE=",+-=&lt;&gt;/~&amp;|*" />
> |
> |    <PROPERTY NAME="indentNextLine"
> |      VALUE="\s*(if|loop|do|else|select|otherwise|catch|
> finally|::class|::method|::routine)\s?" />
> |    <PROPERTY NAME="unindentThisLine" VALUE="\s*(end|return|then|else|otherwise)\s?)" />"
> |  </PROPS>
>
>         It looks like something in one of the <PROPERTY ... /> statements is faulty, but I can't
> see what's wrong.  Help!?
>
> Leslie
> --
> Platform:               GNU/Linux
> Hardware:               x86_64
> Distribution:           openSUSE Leap 15.4
> Java:
>         version "19.0.1" 2022-10-18:
>         Server VM:      build 19.0.1+10-21
> jEdit 5.6.0
>
>
> --
> -----------------------------------------------
> jEdit Users' List
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jedit-users


-- 
-----------------------------------------------
jEdit Users' List
[email protected]
https://lists.sourceforge.net/lists/listinfo/jedit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.