[ 
https://issues.apache.org/jira/browse/TIKA-2958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16945112#comment-16945112
 ] 

Hudson commented on TIKA-2958:
------------------------------

SUCCESS: Integrated in Jenkins build tika-branch-1x #239 (See 
[https://builds.apache.org/job/tika-branch-1x/239/])
TIKA-2958: move license down due to spring XML parse error (tilman: 
[https://github.com/apache/tika/commit/011e9b4a0d5a12c92ea66a450433c798397da902])
* (edit) tika-example/src/main/resources/org/apache/tika/example/spring.xml


> XmlBeanDefinitionStoreException with SpringExample
> --------------------------------------------------
>
>                 Key: TIKA-2958
>                 URL: https://issues.apache.org/jira/browse/TIKA-2958
>             Project: Tika
>          Issue Type: Bug
>          Components: example
>    Affects Versions: 1.22
>            Reporter: Tilman Hausherr
>            Priority: Trivial
>
> Running the spring example brings this:
> {noformat}
> Exception in thread "main" 
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 
> 16 in XML document from class path resource 
> [org/apache/tika/example/spring.xml] is invalid; nested exception is 
> org.xml.sax.SAXParseException; lineNumber: 16; columnNumber: 6; The 
> processing instruction target matching "[xX][mM][lL]" is not allowed.
>       at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:405)
>       at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:337)
>       at 
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:305)
> {noformat}
> The cause is the Apache license, it must be moved after the "<?xml" line.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to