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" wrote on 11

RE: How to use xi include and fallback

2010-11-07 Thread Michael Glavassevich
"Peter A. Kirk" wrote on 11/07/2010 10:09:14 PM: > OK, thanks. I've been trying to read the w3.org descriptions of > include and fallback, and I was coming to the conclusion that it wasby design. > > Unfortunate for me though, because I'd like "all error fallback". > > I have for example some ht

RE: How to use xi include and fallback

2010-11-07 Thread Peter A. Kirk
OK, thanks. I've been trying to read the w3.org descriptions of include and fallback, and I was coming to the conclusion that it was by design. Unfortunate for me though, because I'd like "all error fallback". I have for example some http requests for included xml, which the server cannot proce

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