XMLDTDLoader/XMLEntityResolver

2003-01-31 Thread Cirip Tomas
Hi, I am trying to create XMLDTDLoader with my own XMLEntityResolver. Even when I specify dtdLoader.setEntityResolver(myEntityResolver) it doesn't call my entity resolver (. MyEntityResolver class extends class XMLEntityManager. What am I doing wrong? Thank you Tomas public class MyXMLEnti

RE: [ANNOUNCEMENT]: Xerces-J 2.3.0 now available

2003-01-31 Thread Joseph Kesselman
> i want to discard the old value without looking at it. Simple SAX filtering, then. Read events in, write events out, recognize that specific context as a request to discard any incoming characters events (until the context changes) and issue your own chararacters event instead. A good SAX tut

RE: [ANNOUNCEMENT]: Xerces-J 2.3.0 now available

2003-01-31 Thread Soosai, Lourdhu Vasanth
hi joe, i want to discard the old value without looking at it. whever i c a testname i like to change the value joe should i use XNI? appreciate ur sugestions. thx vasanth -Original Message- From: Joseph Kesselman [mailto:[EMAIL PROTECTED] Sent: Friday, J

Problem importing 2.3.0 into VA Java 4

2003-01-31 Thread Law, Larry
I am having a problem importing the xerces 2.3.0 source into VA Java. It doesn't seem to like the private constructor for org.apache.xerces.impl.xs.SchemaGrammar which is implicitly invoked by it inner class BuiltinSchemaGrammar. The error I get is: "Cannot invoke private super constructor defin

Re: [ANNOUNCEMENT]: Xerces-J 2.3.0 now available

2003-01-31 Thread Joseph Kesselman
> how can i change the characters value while parsing using SAX > nameOne > how would i change it to > nameTwo > without really constructing a string buffer. If you want to discard the old value without looking at it, you could do that wit

RE: Problem reading xsl in https environment

2003-01-31 Thread Soosai, Lourdhu Vasanth
hi hemant,        if ur xsl is inside ur war , u need o need to the give  the path.depends on app server ur running.    eg(websphere :"/opt/IBMWebAS/installedApps/app1.ear/app1.war/xsl/your.xsl) try to have ur xsl outside ur war... like this (/var/webapps/appname/x

RE: Problem reading xsl in https environment

2003-01-31 Thread Hemant Pawar
Thanks for replies. Here are few more details.. The xsl is already available in my war file. I am trying to read the xsl in my jsp using the code new Transformer( new StreamSource (url));//xalan.jar The url is complete path of the xsl which lies in the same folder as the jsp. It is able to pick u

Re: [ANNOUNCEMENT]: Xerces-J 2.3.0 now available

2003-01-31 Thread Andy Clark
Soosai, Lourdhu Vasanth wrote: how can i change the characters value while parsing using SAX like nameOne how would i change it to nameTwo without really constructing a string b

RE: multiple attributes

2003-01-31 Thread Peter Vanopulos
Thanks Vasanth :) -Original Message- From: Soosai, Lourdhu Vasanth [mailto:[EMAIL PROTECTED] Sent: Thursday, 30 January 2003 9:46 PM To: '[EMAIL PROTECTED]' Subject: RE: multiple attributes use serializer. public static String getXmlString(Document d) { try { OutputForma

RE: [ANNOUNCEMENT]: Xerces-J 2.3.0 now available

2003-01-31 Thread Soosai, Lourdhu Vasanth
hi,    iam trying to change the value of a text node using SAX parser.   iam able to do it for attributes..(eg:attributesImpl.setValue(3, "donotcontact");)    how can i change the characters value while parsing using SAX    like        nameOne