The mode parser doesn't like my <PROPS>...</PROPS> code.
J Leslie Turriff <[email protected]>
| Newsgroups | gmane.editors.jedit.user |
|---|---|
| Message-ID | <[email protected]> |
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=",+-=<>/~&|*" /> | | <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