Re: Parsing a DTD using the org.apache.xerces.parsers.DTDParser Clas s..

2002-06-25 Thread neilg
Hi Sateesh, I don't believe there is a concrete extension of this class in Xerces (in fact, I once proposed we get rid of this class because I thought it might confuse people. :-)) You might want to take a look at org.apache.xerces.parsers.XMLGrammarPreparser and org.apache.xerces.impl.dtd.XMLDT

RE: DOM Serializer and entity references

2002-06-25 Thread Beyer,Nathan
I'd be using the XMLSerializer. The Nodes might be something like this: Element myElement = doc.createElement("Equation"); myElement.appendChild(doc.createTextNode("2 > 3")); With the XML looking like this: 2 > 3 Thanks. -Original Message- From: Voytenko, Dimitry [mailto:[EMAIL PROT

RE: DOM Serializer and entity references

2002-06-25 Thread Voytenko, Dimitry
Hi Nathan, Can you provide approximate example of how you're gonna do this and what you want to get after serialization? And also include which serializer you want to use. Thanks, Dmitry -Original Message- From: Beyer,Nathan [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 25, 2002 12:48 To

DOM Serializer and entity references

2002-06-25 Thread Beyer,Nathan
If I built a DOM structure and place some reserved characters in an element's content, such as ", ', &, etc and then used the serializer in the Xerces packages, would those characters be converted to their associated entity references/escape sequences? Thanks. CONFIDENTIALITY NOTICE This messag

RE: Escaping ' during transformation with xerces2.0.1 throws TransformerException: misquoted literal... expected single quote!

2002-06-25 Thread Daya Sharma
Can somebody please give me a clue on how to make ' appear as ' in browser? >-Original Message- >From: Daya Sharma >Sent: Monday, June 24, 2002 3:49 PM >To: [EMAIL PROTECTED] >Subject: Escaping ' during transformation with xerces2.0.1 throws >TransformerException: misquoted literal... exp

Re: ClassCastException

2002-06-25 Thread Bryan Mulvihill
the domparser.getDocument() method returns the a node that is really a document node. The same thing happens when getChildNodes() is called instead of getFirstChild().   The problem is that this same code works for other documents, but not this one.  I was hoping other people have had this p

Parsing a DTD using the org.apache.xerces.parsers.DTDParser Clas s..

2002-06-25 Thread Kommineni, Sateesh (IndSys)
Hi, In Xerces2 we have a Class for parsing a DTD , org.apache.xerces.parsers.DTDParser . But this is an Abstract class . Which class implements this?? Has any body used this Class for parsing a DTD if so pls let me know... Thanks Sateesh "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS

RE: ClassCastException

2002-06-25 Thread Lopez, William
Could it be the domparser.getDocument() (probably returns a Document and not a Node). There are methods that return Node type or use the methods that return NodeList- see api doc. Just a guess, I don't work with DOM.   HTH, -Will -Original Message-From: Bryan Mulvihill [mailto:[

ClassCastException

2002-06-25 Thread Bryan Mulvihill
I get the following exception when trying to iterate over a documents child elements.  It only happens the first time, but I have moved the calling code so it only happens once and messes up the initialization of my program.  Here is the offending code                       ...            

Problem with the class DOMWriterImpl

2002-06-25 Thread Sauquet Dominique
Hi, I try to use a DOMWriterFilter (instance of my class MyFilter) with a DOMWriterImpl : domWriter = new org.apache.xml.serialize.DOMWriterImpl(false); MyFilter myFilter = new MyFilter(); domWriter.setFilter( myFilter ); and I get the following exception : Exception in thread "main" org.w3c.do

Re: Fw: Check ur friends Circle !

2002-06-25 Thread Serg V.Borisiuk
Attention! It seems you have got a virus on your machine! Please make sure you have the latest update of your virus scanner and check all your files right away! Take care, arun - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Fw: excite relations to see

2002-06-25 Thread Serg V.Borisiuk
Attention! It seems you have got a virus on your machine! Please make sure you have the latest update of your virus scanner and check all your files right away! Take care, arun - To unsubscribe, e-mail: [EMAIL PROTECTED]

Fw: Check ur friends Circle !

2002-06-25 Thread arun
<>

Fw: excite relations to see

2002-06-25 Thread arun
Hi Check the Attachement ..See uarun- Original Message -From: "urfriend" < [EMAIL PROTECTED] >To: < [EMAIL PROTECTED] >Sent: Tue,25 Jun 2002 14:35:57 PMSubject: excite relations to see This e-mail is never sent unsolicited. If you need to unsubscribe, follow the instructions at the botto

Re: How to identify the namespace?

2002-06-25 Thread Jan Dvorak
Hi Kakoli, You need your parser configured namespace-aware. If you obtain it via JAXP, don't forget to setNamespaceAware(true) on the SAXParserFactory. Otherwise you may want to set the http://xml.org/sax/features/namespaces feature to true. Jan Dvorak Kakoli wrote: | Hi all, | | I am not able

RE: How to identify the namespace?

2002-06-25 Thread Kakoli
Hi all, I am not able to get different namespaces for a parent element and a child element even though I have defined different namespaces for both.   My xml request looks like : http://schemas.xmlsoap.org/soap/envelope/">                        ab