4thline / lemma

Manual authoring system for Java

Home Page:http://4thline.org/projects/lemma/manual/lemma-manual.xhtml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IllegalArgumentException if citation style attribute ends with a space

garydgregory opened this issue · comments

For example:

    <div class="example" id="MyID">
        My description
        <a class="citation"
           href="javacode://org.foo.Bar"
           style="include: ANNOTATED_CLASS; exclude: ACCESSORS, CONSTRUCTOR; filepath: true; "/>
    </div>

causes an IllegalArgumentException, while this does not:

    <div class="example" id="MyID">
        My description
        <a class="citation"
           href="javacode://org.foo.Bar"
           style="include: ANNOTATED_CLASS; exclude: ACCESSORS, CONSTRUCTOR; filepath: true;"/>
    </div>

Notice the space at then end of "include: ANNOTATED_CLASS; exclude: ACCESSORS, CONSTRUCTOR; filepath: true; "

No space at the end, no IAE.

Bug was in org.seamless dependency, fixed in SNAPSHOT.