xml-commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark R. Diggory" <mdigg...@latte.harvard.edu>
Subject [resolver] Problems parsing catalog.
Date Fri, 05 Sep 2003 04:10:09 GMT
I'm hoping someone might be able to identify why this failure is 
occuring when I'm parsing my catalog.xml file, it seems to be trying to 
parse it as a text file...

I've also included the catalog at the bottom of the page. Thanks for any 
pointers.

-Mark


Parse catalog: file:/usr/local/VDC/UIS/VDC/WEB-INF/conf/xml-catalog.xml
Loading catalog: file:/usr/local/VDC/UIS/VDC/WEB-INF/conf/xml-catalog.xml
Default BASE: file:/usr/local/VDC/UIS/VDC/WEB-INF/conf/xml-catalog.xml
Unrecognized token parsing catalog: <?xml
CATALOG: file:/usr/local/VDC/UIS/VDC/WEB-INF/conf/SYSTEM
java.lang.ArrayIndexOutOfBoundsException: 3
         at 
org.apache.xml.resolver.readers.TextCatalogReader.nextToken(Unknown Source)
         at 
org.apache.xml.resolver.readers.TR9401CatalogReader.readCatalog(Unknown 
Source)
         at org.apache.xml.resolver.Catalog.parseCatalogFile(Unknown Source)
         at org.apache.xml.resolver.Catalog.parsePendingCatalogs(Unknown 
Source)
         at org.apache.xml.resolver.Catalog.parseCatalog(Unknown Source)
         at org.apache.xml.resolver.Catalog.loadSystemCatalogs(Unknown 
Source)
         at 
org.apache.xml.resolver.tools.CatalogResolver.initializeCatalogs(Unknown 
Source)
         at org.apache.xml.resolver.tools.CatalogResolver.<init>(Unknown 
Source)
         at org.apache.jsp.Test_jsp._jspService(Test_jsp.java:189)
         at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
         at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at 
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown 
Source)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
         at 
edu.harvard.hmdc.filter.LayoutFilter.doFilter(LayoutFilter.java:44)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown 
Source)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
         at 
edu.harvard.hmdc.filter.TokenFilter.doFilter(TokenFilter.java:53)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown 
Source)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
         at 
edu.harvard.hmdc.filter.VDCSessionFilter.doFilter(VDCSessionFilter.java:260)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown 
Source)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
         at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown 
Source)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContextValve.invoke(Unknown 
Source)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
         at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown Source)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
         at org.apache.catalina.core.StandardHostValve.invoke(Unknown 
Source)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
         at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown Source)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
         at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown 
Source)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at org.apache.catalina.core.StandardEngineValve.invoke(Unknown 
Source)
         at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(Unknown

Source)
         at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
         at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
         at 
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
         at 
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:261)
         at 
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:360)
         at 
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:604)
         at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:562)
         at 
org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:679)
         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
         at java.lang.Thread.run(Thread.java:536)





<?xml version="1.0"?>
<!DOCTYPE catalog SYSTEM "./catalog.dtd">
<catalog prefer="public">
	<group xml:base="http://www.icpsr.umich.edu/DDI/">
		<!-- Start System resolved DTD's -->
		<system systemId="http://www.icpsr.umich.edu/DDI/Version1.dtd" 
uri="Version1.dtd"/>
		<system systemId="http://www.icpsr.umich.edu/DDI/Version1-01.dtd" 
uri="Version1-01.dtd"/>
		<system systemId="http://www.icpsr.umich.edu/DDI/Version1-02.dtd" 
uri="Version1-02.dtd"/>
		<system systemId="http://www.icpsr.umich.edu/DDI/Version1-02-1.dtd" 
uri="Version1-02-1.dtd"/>
		<system systemId="http://www.icpsr.umich.edu/DDI/Version1-2-2.dtd" 
uri="Version1-2-2.dtd"/>
		<system systemId="http://www.icpsr.umich.edu/DDI/Version1-3.dtd" 
uri="version1-3.dtd"/>	
		<system systemId="http://www.icpsr.umich.edu/DDI/version1-3.dtd" 
uri="version1-3.dtd"/>
		<system systemId="http://www.icpsr.umich.edu/DDI/Version2-0.dtd" 
uri="Version2-0.dtd"/>
		<!-- End DTD's -->
		<!-- Start Public resolved DTD's
		<public publicId="-//OASIS//DTD DocBook XML V4.1.2//EN" 
uri="Version1.dtd"/>
		<public publicId="-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" 
uri="Version1-01.dtd"/>
		<public publicId="-//OASIS//ENTITIES DocBook XML Character Entities 
V4.1.2//EN" uri="Version1-02.dtd"/>
		<public publicId="-//OASIS//ELEMENTS DocBook XML Information Pool 
V4.1.2//EN" uri="Version1-02-1.dtd"/>
		<public publicId="-//OASIS//ELEMENTS DocBook XML Document Hierarchy 
V4.1.2//EN" uri="Version1-2-2.dtd"/>
		<public publicId="-//OASIS//ENTITIES DocBook XML Additional General 
Entities V4.1.2//EN" uri="Version1-3.dtd"/>	
		<public publicId="-//OASIS//DTD DocBook XML CALS Table Model 
V4.1.2//EN" uri="Version2-0.dtd"/>
		 End DTD's -->
		<!-- Start w3c Schemas -->
		<uri name="http://www.icpsr.umich.edu/DDI/Version1.xsd" 
uri="Version1.xsd"/>
		<uri name="http://www.icpsr.umich.edu/DDI/Version1-01.xsd" 
uri="Version1-01.xsd"/>
		<uri name="http://www.icpsr.umich.edu/DDI/Version1-02.xsd" 
uri="Version1-02.xsd"/>
		<uri name="http://www.icpsr.umich.edu/DDI/Version1-02-1.xsd" 
uri="Version1-02-1.xsd"/>
		<uri name="http://www.icpsr.umich.edu/DDI/Version1-2-2.xsd" 
uri="Version1-2-2.xsd"/>
		<uri name="http://www.icpsr.umich.edu/DDI/Version1-3.xsd" 
uri="Version1-3.xsd"/>
		<!-- End w3c Schemas -->
	</group>
</catalog>



Mime
View raw message