Re: XInclude nesting

2005-03-15 Thread Michael Glavassevich
Leonardo Palozzi <[EMAIL PROTECTED]> wrote on 03/14/2005 07:37:32 PM: > On Mon, 14 Mar 2005 18:30:53 -0500, Michael Glavassevich > <[EMAIL PROTECTED]> wrote: > > This looks very much like a bug [1] that was recently fixed in CVS. You > > Thanks Michael, I tried the latest gump and the bug has in

Re: XInclude nesting

2005-03-15 Thread Leonardo Palozzi
On Mon, 14 Mar 2005 18:30:53 -0500, Michael Glavassevich <[EMAIL PROTECTED]> wrote: > This looks very much like a bug [1] that was recently fixed in CVS. You Thanks Michael, I tried the latest gump and the bug has indeed been fixed. Is there any assurance you can give me in terms of the gump's st

Re: XInclude nesting

2005-03-14 Thread Michael Glavassevich
This looks very much like a bug [1] that was recently fixed in CVS. You may want to check whether this works with the lastest build [2]. Note that the version of the XInclude processor in CVS implements the XInclude Proposed Recommendation which went back to using the "http://www.w3.org

XInclude nesting

2005-03-12 Thread Leonardo Palozzi
p://www.w3.org/2003/XInclude"/> ---bar.xml http://www.w3.org/2003/XInclude"/> --baz.xml 234092384 ---foo2.xml (OK) http://www.w3.org/2003/XInclude"/> - To unsubscribe, e-mail

Can I use XInclude in my documents when I parse them using Xerces.DOM3

2005-02-26 Thread Pavel Krupets
Hello, I have some documents one of them is the root document and it contains XInclude elements. I need to parse this document to get node elements (which can be in the sub documents) and I use them to pass into Castor XML Mapping framework to fill in my JavaBeans objects. Is this possible

XInclude and schemas

2005-02-21 Thread Dean, Tim (STP)
Hi, I'm trying to do some experiments using XInclude. My XML files are validated using XML schema (not DTD's). When I try to validate my document, the parser reports "Document is invalid: no grammar found" once it starts parsing the included document. I've searched

Re: XInclude parse="text" producing & # x D ;

2004-11-05 Thread Michael Glavassevich
g var2=2; > > I am transforming the source into a JSP (using the JSP XML syntax) and > the JSP parser chokes on the undefined entity. > > Oh well, I can just wrap the text in an element. > > thanks, > -Rob > > > > > > Robert Koberg <[EMAIL PROTECTED

Re: XInclude parse="text" producing & # x D ;

2004-11-05 Thread Robert Koberg
004 01:48:27 PM: > Hi, > > I am trying to use XInclude to include some text in the XML source used > in a transformation. If I wrap the text in an element and don't use > parse="text" all is good. > > When I use something like: > > > encoding=

Re: XInclude parse="text" producing & # x D ;

2004-11-05 Thread Michael Glavassevich
again. Robert Koberg <[EMAIL PROTECTED]> wrote on 11/05/2004 01:48:27 PM: > Hi, > > I am trying to use XInclude to include some text in the XML source used > in a transformation. If I wrap the text in an element and don't use > parse="text" all is good. >

XInclude parse="text" producing & # x D ;

2004-11-05 Thread Robert Koberg
Hi, I am trying to use XInclude to include some text in the XML source used in a transformation. If I wrap the text in an element and don't use parse="text" all is good. When I use something like: I get a character entity representing line endings (& # x D ;). Is ther

Re: XInclude and general entities

2004-09-08 Thread Murray Altheim
er file with my own DTD, then XInclude the original file. I thought it might merge the DTD's but it doesn't seem to work. Is there any way to accomplish this, or does anyone have an alternative solution? Thanks, Konrad Konrad, Here's my interpretation of your problem and a pos

XInclude and general entities

2004-09-08 Thread Konrad Rokicki
Hi, I don't know if this is even possible, but: I have an read-only XML file (report.xml) with a DTD that just defines some entities. I want to add some entities to this DTD but I can't change the file.. the solution I'm trying at the moment is to build another file with my own DTD

RE: Xerces versions / XInclude namespace

2004-07-20 Thread Damien Fitzpatrick
I am running version 2.5.0 without a problem with the old 2001 namespace. As Xerces does not support Xpointers there is no real problem in using this old build with the new/updated Xinclude 2001 namespace because the main changes (as I understand it) between the namespaces centered on the way

Re: Xerces versions / XInclude namespace

2004-07-20 Thread Michael Glavassevich
The http://www.w3.org/2001/XInclude namespace has been restored in CVS. This change will make it into the next release. I'm pretty sure only Xerces 2.6.1 and 2.6.2 processed the http://www.w3.org/2003/XInclude namespace from the previous draft of XInclude. Thanks. On Tue, 20 Jul

Xerces versions / XInclude namespace

2004-07-20 Thread Emmanouil Batsis
Hello, Can someone please point out the Xerces version (if any) or the CVS tag that supports the XInclude namespace [1] as it got reverted back by the latest 13 April 2004 CR? I've build an Ant task and am trying to document the dependencies to submit to the external tasks section. [1]

RE: Using Document Fragments with XInclude

2004-07-01 Thread Damien Fitzpatrick
might find it useful to look at the Cocoon implementation.   Damien   From: Thomas Cox [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 12:10 AM To: [EMAIL PROTECTED] Subject: RE: Using Document Fragments with XInclude   This is on our radar too. It's not a huge issue yet

RE: Using Document Fragments with XInclude

2004-07-01 Thread Thomas Cox
Sent: Wednesday, June 30, 2004 7:29 PMTo: [EMAIL PROTECTED]Subject: Using Document Fragments with XInclude Hi there,   I currently have a set of docbook documentation that contains XIncludes which reference document fragments using XPointers.  In the past I have used Xerces

xinclude with xpointer

2004-05-27 Thread Sarah Haas
Hello Most-Venerable-Xerces-Developers-and-Experts! Is it planned for the Xerces' XInclude processor to support XPointer references any time soon? Is there a release or pre-release version with this feature planned? If not, can you suggest a work-around? Many thanks for your comment

Re: XInclude: filesystem context problems

2004-05-05 Thread Emmanuil Batsis (Manos)
Forgot to mention I'm using Xerces-J 2.6.1 from Ant 1.6.1 Emmanuil Batsis (Manos) wrote: Hi all, I'm trying to patch up an xinclude task to automate some stuff but have "context" problems. My project structure (fragment): xclude testfiles â include1.xml â

XInclude: filesystem context problems

2004-05-05 Thread Emmanuil Batsis (Manos)
Hi all, I'm trying to patch up an xinclude task to automate some stuff but have "context" problems. My project structure (fragment): xclude testfiles â include1.xml â init.xml My initial document (init.xml) is just http://www.w3.org/2003/XInclude";>

Schema validation with xinclude

2004-03-01 Thread Stottlemyer, Carl
Title: Schema validation with xinclude I am getting errors when I try to validate a document that uses XInclude against a schema.  The version of xerces being used is: 2.6.2. The problem I am having is with the xml:base attribute.  The XInclude FAQ says that to solve this problem one must

XInclude with Xerces and Saxon

2004-01-27 Thread john joshi
Hi, When processing XML files containing XIncludes with Saxon6_5_3 and Xerces- 2_6_0, I am getting the following message: java - Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilder FactoryImpl - Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactor

Re: Help with XInclude

2003-12-18 Thread Angus Stewart
explicit item that needed to be fixed: 1. CHANGE: http://www.w3.org/2003/XInclude";> TO: http://www.w3.org/2001/XInclude";> Thanks to Michael Glavassevich for pointing this out. Thanks to any/all attempting to help with this. Angus Stewart wrote: A few more notes that may

Re: Help with XInclude

2003-12-18 Thread Angus Stewart
anywhere on my system. 3. I do not have a META-INF/services directory. If I run the test with the verbose switch, I can see the XML11Configuration is loaded. The xinclude is not. Angus Stewart wrote: Thanks, Changed the namespace: >>http://www.w3.org/2003/XInclude";> http://www.w3.org

Re: Help with XInclude

2003-12-18 Thread Angus Stewart
Thanks, Changed the namespace: >>http://www.w3.org/2003/XInclude";> http://www.w3.org/2001/XInclude";> Still not getting the desired results. Output shows the xi:include elements. There seems to be no attempt to resolve the external documents. Michael Glavassevich wrote: H

Re: Help with XInclude

2003-12-18 Thread Michael Glavassevich
dated in CVS to accomodate the change made in the new Working Draft. If you don't want to change your instance documents you can pickup a recent nightly build [3]. Hope that helps. [1] http://www.w3.org/TR/2003/WD-xinclude-20031110/#syntax [2] http://www.w3.org/TR/2002/CR-xinclude-20020917/

Help with XInclude

2003-12-18 Thread Angus Stewart
Cannot get XInclude to work. Searched archives for XInclude, and while there are quite a few entries, and even some claim of success, none provide the steps required to get there. I would appreciate it if anyone can help me out with this, and/or provide samples. Following is the test I setup

Re: XInclude with schema validation

2003-12-02 Thread Don Bate
tter seems to assume that it is included via DOCTYPE entity rather than XInclude. I filed a bug report last week but have gotten no response. My included xml is also validated by its own schema. At 3:28 PM -0500 12/2/03, Stephen Stern wrote: Are their any examples of how to use XInclude w

XInclude with schema validation

2003-12-02 Thread Stephen Stern
Are their any examples of how to use XInclude with Schema validation enabled ( http://xml.org/sax/features/validation and http://apache.org/xml/features/validation/schema features set to true). When I attempt to include a file, the included file seems to require a dtd, otherwise the parser

Re: Enabling XInclude at compile time

2003-10-28 Thread Michael Glavassevich
XMLParserConfiguration if the system property org.apache.xerces.xni.parser.XMLParserConfiguration has no value. This file contains the name of the parser configuration. If you place this file containing the name the XInclude configuration in META-INF/services/ in your jar, and place your jar in front of Xerces in

Enabling XInclude at compile time

2003-10-28 Thread Prapti Sen
Hello, How can I enable XInclude processing through my program and not at run time? The current method to enable XInclude is at run time: java -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=MyConfig application_class Can I set the parser configuration while compiling? If it is possible

Re: Recursive Xinclude

2003-10-28 Thread Michael Glavassevich
Hi Prapti, Yes, but an include cannot reference a resource that is itself or any of its include ancestors [1] unless it is a text include. In other words, inclusion loops are illegal. [1] http://www.w3.org/TR/xinclude/#loops On Tue, 28 Oct 2003, Prapti Sen wrote: > Hello, > Can I use XI

Recursive Xinclude

2003-10-28 Thread Prapti Sen
Hello, Can I use XInclude recursively? If not, then what is the possible solution to use XInclude recursively. Thank you. Prapti - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: XInclude... is it the way to make it working ?

2003-10-08 Thread Christophe Grosjean
: [EMAIL PROTECTED] Subject: RE: XInclude... is it the way to make it working ?   Hi Christophe, Could you please let me know how did you get your XInclude working? I have not been able to get mine working.   I am running my application using: $ java

RE: XInclude... is it the way to make it working ?

2003-10-07 Thread Prapti Sen
Hi Christophe, Could you please let me know how did you get your XInclude working? I have not been able to get mine working.   I am running my application using: $ java -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration

RE: XInclude

2003-10-07 Thread Prapti Sen
ot able to retreive the value of the embedded XML. The parent.xml is : http://www.w3.org/2001/XInclude";> where child.xml is : hi hello When I parse parent.xml using DOMParser, the elements of child.xml are NOT printed. The last node that gets printed is 'xi:in

XInclude... is it the way to make it working ?

2003-10-07 Thread Christophe Grosjean
Hi,   I tried the XInclude feature. I had no problem in setting the XIncludeConfiguration and the parsing includes well relative and absolute URI.   But…   I want to specify files in may classpath instead of URI like :     instead of     Setting an EntityResolver on the

Re: XInclude

2003-10-07 Thread Arun Yadav
Hi Prapti, You're using the wrong parser Configuration for XInclude. Here is correct one:- org.apache.xerces.parsers.XIncludeParserConfiguration java -Dorg.apache.xerces.xni.parser.XMLParserConfiguration=org.apache.xerces.parsers.XIncludeParserConfiguration application_class Cheers,

RE: XInclude

2003-10-07 Thread Michael Glavassevich
=org.apache.xerces.parsers.XIncludeParserConfiguration application_class On Mon, 6 Oct 2003, Prapti Sen wrote: > Hello, > I am overriding the default parser configuration for enabling XInclude > processing using: > > java -Dorg.apache.xerces.xni.parser.XMLPars

RE: XInclude

2003-10-06 Thread Prapti Sen
Hello, I am overriding the default parser configuration for enabling XInclude processing using: java -Dorg.apache.xerces.xni.parser.XMLParserConfiguration= org.apache.xerces.xni.parser.org.apache.xerces.parsers.XIncludeParserConfiguration application_class I have set the CLASSPATH for

RE: XInclude

2003-10-03 Thread Prapti Sen
How can I set the base URI? -Original Message- From: Bob Foster [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 2:22 PM To: [EMAIL PROTECTED] Subject: Re: XInclude Jacob Kjome wrote: >> I specified the real URI. I gave the actual path > href="file:C:/test.xml&qu

Re: XInclude

2003-10-03 Thread Bob Foster
Jacob Kjome wrote: I specified the real URI. I gave the actual path Try file:/C:/test.xml Try file:///C:/test.xml (three slashes after the file: scheme). The following should also work: file://localhost/C:/test.xml but why involve the network? I find it hard to believe it doesn't work with a val

RE: XInclude

2003-10-03 Thread Prapti Sen
: [EMAIL PROTECTED] Subject: RE: XInclude At 11:03 AM 10/3/2003 -0700, you wrote: >Hello Neil, >I specified the real URI. I gave the actual path href="file:C:/test.xml"/> > >But still its not working. > >Do you have any other suggestion? Try file:/C:/test

RE: XInclude

2003-10-03 Thread Jacob Kjome
, October 02, 2003 7:10 PM To: [EMAIL PROTECTED] Subject: Re: XInclude Pratpti, I had quite a bit of difficulty with xinclude until I put a real URI in the href. That is to say make theinto It's not definitive, but it might help _ Neil Pitman [

RE: XInclude

2003-10-03 Thread Prapti Sen
: XInclude Pratpti, I had quite a bit of difficulty with xinclude until I put a real URI in the href. That is to say make theinto It's not definitive, but it might help _ Neil Pitman [EMAIL PROTECTED] +1.514.863.5465 ICQ#: 211

Re: XInclude

2003-10-03 Thread Neil Pitman
Pratpti, I had quite a bit of difficulty with xinclude until I put a real URI in the href. That is to say make theinto It's not definitive, but it might help _ Neil Pitman [EMAIL PROTECTED] +1.514.863.5465 ICQ#: 211

RE: XInclude

2003-10-02 Thread Prapti Sen
included. What should I do? Thank you. -Original Message- From: Michael Glavassevich [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 12:53 PM To: [EMAIL PROTECTED] Subject: Re: XInclude Hi, In order to use XInclude in Xerces you need to override the default parser configu

RE: XInclude

2003-10-02 Thread Prapti Sen
Now what are the contents of MyConfig and what is application_class? Please help. -Original Message- From: Michael Glavassevich [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 12:53 PM To: [EMAIL PROTECTED] Subject: Re: XInclude Hi, In order to use XInclude in Xerces you

Re: XInclude

2003-10-02 Thread Michael Glavassevich
Hi, In order to use XInclude in Xerces you need to override the default parser configuration. It must be set to org.apache.xerces.parsers.XIncludeParserConfiguration. There are a couple ways of doing this. They're described in the FAQ [1]. Hope that helps. [1] http://xml.apache.org/xerc

XInclude

2003-10-02 Thread Prapti Sen
I have Xercer-2.5.0 . I am not sure how to use XInclude. When I parse the Test_Suite.xml I do not get the contents of the included test.xml. Someone please help. I am using XInclude in a XML file (Test_Suite.xml) . The contents of Test_Suite.xml are: Test_Suite.xml

Re: xinclude funnies

2003-08-27 Thread Neil Pitman
> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 27, 2003 10:46 AM Subject: Re: xinclude funnies > > > > > Hi Neil, > > In answer to 1), yes, setting the IDs to null isn't right. I'll admit I'm > not familiar with custom entity resolves, and just ass

Re: [PATCH] for XIncludeHandler.handleIncludeElement included, was Re: xinclude funnies

2003-08-27 Thread Peter McCracken
OTECTED]To: <[EMAIL PROTECTED]> atico.ca>cc: Subject: [PATCH] for XIncludeHandler.handleIncludeElement included, wa

[PATCH] for XIncludeHandler.handleIncludeElement included, was Re: xinclude funnies

2003-08-27 Thread Neil Pitman
t; fChildConfig.setEntityResolver(fEntityResolver); _Neil Pitman[EMAIL PROTECTED]+1.514.863.5465ICQ#: 21101052_ - Original Message - From: Bob Foster To: [EMAIL PROTECTED] ; Neil Pitman Sent

Re: xinclude funnies

2003-08-27 Thread Peter McCracken
ED]To: <[EMAIL PROTECTED]> atico.ca>cc:

Re: xinclude funnies

2003-08-23 Thread Bob Foster
n absolute URI from the base URI of the document being parsed and the relative paths you are using in your XInclude directory. (If you don't like what it does with relative paths, use absolute paths. An absolute URI always has a scheme. But I'll go on with the relative URI example.) If Xe

xinclude funnies

2003-08-23 Thread Neil Pitman
I'll preface this with "I'm a bit new to digging around in Xerces and XInclude".  (Xerces always worked, but then I wasn't using new, beta features.)   I'm trying to make Saxon 7.6.5 (XSLT) work with Xerces 2.5.0 (tarball not recent cvs) using XInclude and SAX w

Re: XInclude

2001-08-22 Thread Andy Clark
Ala Heno wrote: > I would to know if SAX already supports XInclude, and if yes then what > is the syntax to be used. Attached to this email you can find the file > I tried to run. Xerces will support XInclude as soon as someone writes the code to do it. If you have the time, please imp

XInclude

2001-08-22 Thread Ala Heno
Hello,   I am asking the same question again because I still didn't get any help.   I would to know if SAX already supports XInclude, and if yes then what is the syntax to be used. Attached to this email you can find the file I tried to run.   Thanks in advance.   Ala   file

XInclude

2001-08-21 Thread Ala Heno
Hello all, Does Xerces support XInclude, if yes then what syntax should be used. I tried the following but didn't work for me: http://www.w3.org/2001/XInclude";> When I parsed the above XML the include command wasn't parsed, i.e. the XML file "file2.xml" w

XInclude

2001-08-20 Thread Ala Heno
Hello, I would like to know if current version of SAX supports XInclude. If yes could you please write me a very simply sample demonstrating the way XInclude should be defined. Please reply to my personal email: [EMAIL PROTECTED] because I am not subscribed to the mailing list. Thanks in

supporting xinclude

2001-04-24 Thread Karalee_LeBlanc
I know XInclude (XML Inclusions) is still just a working draft, but it would be great if xerces supported it. Is support of XInclude in the schedule any time soon? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional