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"/> > > Try file:/C

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: Problem in Saving XML file with DTD

2003-10-03 Thread Jacob Kjome
At 01:23 PM 10/3/2003 -0600, you wrote: Let's see if I got this right. Start with a document that has a DTD in the document. Write the document out using a Transformer and you loose the DTD. Start with a document that has a DTD in the document. Add your DTD to the XSLT (so that you have duplicated

RE: XInclude

2003-10-03 Thread Prapti Sen
It does not work either. I guess, I have to specify xml:base(base URI) which specifies the absolute path of the file. Does anybody know how to configure the xml:base parameter?? -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED] Sent: Friday, October 03, 2003 12:19 PM To: [EM

RE: Problem in Saving XML file with DTD

2003-10-03 Thread Holliday, Donald B. (LNG-CSP)
Let's see if I got this right. Start with a document that has a DTD in the document. Write the document out using a Transformer and you loose the DTD. Start with a document that has a DTD in the document. Add your DTD to the XSLT (so that you have duplicated it). Write the document out using a Tr

RE: XInclude

2003-10-03 Thread Jacob Kjome
At 11:03 AM 10/3/2003 -0700, you wrote: Hello Neil, I specified the real URI. I gave the actual path But still its not working. Do you have any other suggestion? Try file:/C:/test.xml Jake Thank you. Prapti -Original Message- From: Neil Pitman [mailto:[EMAIL PROTECTED] Sent: Thursday, Oct

RE: XInclude

2003-10-03 Thread Prapti Sen
Hello Neil, I specified the real URI. I gave the actual path But still its not working. Do you have any other suggestion? Thank you. Prapti -Original Message- From: Neil Pitman [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 7:10 PM To: [EMAIL PROTECTED] Subject: Re: XInclud

Re: Problem in Saving XML file with DTD

2003-10-03 Thread Jacob Kjome
At 06:54 PM 10/3/2003 +0200, you wrote: I should mention that I'm using the Transformator in order to write the DOM document to a file, but it seems to skip the DTD section when writing the new updated XML file. Why is it happening and how can I keep the DTD?? Have you added the following to your

Re: QUESTION: char content chunking in ContentHandler.characters()

2003-10-03 Thread Michael Glavassevich
Hi Meh-Lit, No. SAX parsers are free to split character data [1] into as any much chunks as they please, and they can split the text at whatever boundaries they want. In order to handle this properly, your handler needs to accumulate the text returned in each call until you recieve a callback that

Problem in Saving XML file with DTD

2003-10-03 Thread Shay
Hello,   I built a simple application that parses an XML document (using JAXP1.2), modifies it using DOM and saves the changes. After this process is completed the file includes everything but the DTD.   I should mention that I'm using the Transformator in order to write the DOM docume

QUESTION: char content chunking in ContentHandler.characters()

2003-10-03 Thread Meh-Lit Kim
Hi,   Is there any guarantee that the org.xml.sax.ContentHandler.characters() callback will not break a whitespace-separated 'word' into different chunks ?   e.g., given the following XML fragment :       111 222 333 444 555 666       The possible values for the string corresponding to

Re: How to validate an element rather than the whole xml document

2003-10-03 Thread Gloria Yang
  Yes, Thanks for all your help.   I can validate a single element now. But I still have some questions.   1. Does DOM3 using GrammarPool?   2. when I validate document, I can specify only one schema using config.setParameter("schema-location","");     How to specify serveral schema locati

RE: Help whit validation in Web services (xerces )

2003-10-03 Thread Sander Bos
Dear Zulema, > I working whit Web service in java, axis and Xerces2, > this web service get like paremeter an XML, the which > use a schema whith restriction, but the validations no > work, when i introduce a bad parameter. > Note: The error of validation are write by catalina.out Eve

Re: Skip attribute validation

2003-10-03 Thread Michael Glavassevich
Hello, You cannot skip attribute validation. If you've requested that an XML parser determine the validity [1] of a document it is required that it report validity constraints that are violated as errors. The requirement that all attributes included in the document must be declared [2] is one of t

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#: 21101052 __