I got the following error when I was restarting JBoss AS 7.
com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
JBoss complained it could not parse the standalone.xml.
Soon I realized that I accidentally added a empty line before the xml declaration. Something like:
[empty line] <?xml version="1.0" encoding="utf-8"?> [other xml content]
So please keep in mind whenever you encounter this error, do check your xml file and put the xml declaration as the first line of the file.
Your post saved my day. Thanks a lot!
ReplyDeletethanks a lot for posting this.
ReplyDeleteMuchisimas gracias por la publicación, me ayudo bastante.
ReplyDeleteHi, Thanks! but worked for me when I removed line in Oracle APIARY.
ReplyDeletea big thank you from 2020!
ReplyDeleteThank you so much.. you saved my time
ReplyDeleteThanks for your help..
ReplyDeletegrACIAS ME SALVASTES A MI TAMBIEN
ReplyDelete