RE: How to use xi include and fallback

2010-11-07 Thread Peter A. Kirk
Yes thanks - I thought about something like that as soon as I posted... From: Michael Glavassevich [mrgla...@ca.ibm.com] Sent: Monday, 8 November 2010 16:27 To: j-users@xerces.apache.org Subject: RE: How to use xi include and fallback "Peter A. Kirk"

RE: How to use xi include and fallback

2010-11-07 Thread Michael Glavassevich
> > But, if there is no config matching this name in the database, or if > the database is down for example, then I just returned nothing. But > this causes the whole xml parsing to fail. > > /Peter > > From: Michael Glavassevich [mrgla...@ca.ibm.com] > Sent: Monday, 8 Nov

RE: How to use xi include and fallback

2010-11-07 Thread Peter A. Kirk
assevich [mrgla...@ca.ibm.com] Sent: Monday, 8 November 2010 15:53 To: j-users@xerces.apache.org Subject: Re: How to use xi include and fallback Hi Peter, The fallback is only used in the event of a resource error [1]. For example, the file doesn't exist or possibly there's some kind of connect

Re: How to use xi include and fallback

2010-11-07 Thread Michael Glavassevich
Hi Peter, The fallback is only used in the event of a resource error [1]. For example, the file doesn't exist or possibly there's some kind of connection problem which prevents the parser from accessing the URI (specified as the value of href). Well formedness errors within the included XML docum

How to use xi include and fallback

2010-11-07 Thread Peter A. Kirk
Hi I'm new to the Xerces xml parser, and would like some help loading/parsing xml documents using Xi Include. I have two xml files, "mainxml.xml" and "includexml.xml". MainXml looks like this: http://www.w3.org/2001/XInclude";> failure include and IncludeXml