[
https://issues.apache.org/jira/browse/JSPWIKI-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arturo Bernal resolved JSPWIKI-1302.
------------------------------------
Resolution: Cannot Reproduce
I checked this on the current master. The text that starts with NOTE you can
also use BASIC, DIGEST or CLIENT-CERT is at line 385 of
jspwiki-war/src/main/webapp/WEB-INF/web.xml, and it is inside an XML comment
that spans lines 333 to 407, so it is not character data of login-config. I
read the file with a StAX parser, the kind of parser that gives the error in
the report, and found no non-blank text directly inside any element that must
contain only elements, neither in this file nor in the web.xml files of the
integration test modules. The error in the report is at line 302 of the file in
release 3.0.0-rc2, which is not the file on master, so I cannot say what
produced it there. I am closing it as Cannot Reproduce on master; please reopen
it with the web.xml that fails if it still happens with a newer version.
> Unexpected characters in web.xml
> --------------------------------
>
> Key: JSPWIKI-1302
> URL: https://issues.apache.org/jira/browse/JSPWIKI-1302
> Project: JSPWiki
> Issue Type: Bug
> Components: Authentication & Authorization
> Affects Versions: 3.0.0
> Reporter: Jürgen Weber
> Priority: Trivial
>
> There are characters strewn in as kind of comment in web.xml at line 311.
> They should be made a real xml comment.
> JBoss EAP 8.1 gives a parse error on this:
> javax.xml.stream.XMLStreamException: ParseError at [row,col]:[302,82]
> Message: found: CHARACTERS, expected START_ELEMENT or END_ELEMENT"}}}}
>
> https://github.com/apache/jspwiki/blob/12156fb76b474af60c0841c5e3a59411eacfbb5f/jspwiki-war/src/main/webapp/WEB-INF/web.xml#L311
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)