You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Kristine Weissbarth <kr...@sourcepark.de> on 2003/05/14 15:58:02 UTC

SAXParseException

hi,

I'm currently trying to use an maven.xml that includes a goal which uses
the maven:reactor. But all I'm getting is the following error about an
SAXParseException. I don't really know much about SAX parsing. Can
anybody give me a hint what's going wrong here or where the 'Fatal
Error' probably occurs? Thanks.

------------ Error message:

[DEBUG] Adding reference: maven.dependency.classpath -> 
[DEBUG] Adding reference: maven-classpath -> 
Fatal Error [line 2, row 6]: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
org.xml.sax.SAXParseException: The processing instruction target
matching "[xX][mM][lL]" is not allowed.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at javax.xml.parsers.SAXParser.parse(Unknown Source)
	at
org.apache.maven.plugin.PluginCacheManager.parse(PluginCacheManager.java:349)
	at
org.apache.maven.plugin.PluginManager.loadJellyScript(PluginManager.java:427)
	at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:351)
	at org.apache.maven.MavenSession.attainGoals(MavenSession.java:357)
	at org.apache.maven.cli.App.doMain(App.java:524)
	at org.apache.maven.cli.App.main(App.java:1080)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at com.werken.forehead.Forehead.run(Forehead.java:543)
	at com.werken.forehead.Forehead.main(Forehead.java:573)
org.xml.sax.SAXParseException: The processing instruction target
matching "[xX][mM][lL]" is not allowed.
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:320)
	at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:207)
	at org.apache.maven.jelly.JellyUtils.compileScript(JellyUtils.java:174)
	at org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:111)
	at org.apache.maven.jelly.JellyUtils.runScript(JellyUtils.java:139)
	at
org.apache.maven.plugin.PluginManager.loadJellyScript(PluginManager.java:437)
	at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:351)
	at org.apache.maven.MavenSession.attainGoals(MavenSession.java:357)
	at org.apache.maven.cli.App.doMain(App.java:524)
	at org.apache.maven.cli.App.main(App.java:1080)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at com.werken.forehead.Forehead.run(Forehead.java:543)
	at com.werken.forehead.Forehead.main(Forehead.java:573)



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org