Lewis John McGibbney schrieb am 16.03.2011 um 17:19 (+0000):

> org.xml.sax.SAXParseException: The processing instruction target
> matching "[xX][mM][lL]" is not allowed.

Take a look at this doc:

<?xml version="1.0"?>
<Urmel>
<?abc bla="99" blub="77"?>
</Urmel>
<?def blubbel="irgendwas"?>

The first line is the XML declaration.

The third and fifth lines are processing instructions (PIs).

The XML declaration looks just like a PI. But the identifer "xml" (in
all cases) is reserved for the XML declaration.

So the error message means you have a PI using a reserved identifier
in your document.

> My configuration descriptor is as follows
> <?xml version="1.0" encoding="utf-8"?>
> <Context docBase="/home/lewis/Downloads/wombra/wombra.war"
> crossContext="true">
>   <Environment name="solr/home" type="java.lang.String"
> value="/home/lewis/Downloads/wombra" override="true"/>
> </Context>

Either this isn't your document, or something mangles it on the way to
the parser, or - least likely - your parser has a bug.

-- 
Michael Ludwig

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to