tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Koberg <...@koberg.com>
Subject Re: XInclude in faces-config file
Date Thu, 22 Sep 2005 14:41:35 GMT
Stephen Faustino wrote:
> I'm attempting to modularize one of the xml files by using XInclude under
> Tomcat 5.5.9. The application starts, but at the point in time when the
> beans should get instantiated I get a NullPointerException in the
> ManagedBeanFactory. In the example below, I'm trying to include file2.xml in
> file1.xml, but it appears that the include directive is being ignored. Note
> that if I insert the contents of file2.xml directly into file1.xml,
> everything works as expected. Can anyone offer any insight in what I'm doing
> wrong?

Assuming you are using Xerces as you XML parser, have you set the system 
property:

org.apache.xerces.xni.parser.XMLParserConfiguration = 
org.apache.xerces.parsers.XIncludeParserConfiguration

best,
-Rob

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message