Re: Question

2001-03-14 Thread E. de Haan
Use CDATA instead of PCDATA elements, but check the other consequences ... Your elements will be used as-is, without -any- changes. While PCDATA stands for -parsed- character data. Check out the differences... BTW: xerces-dev is deprecated; use xerces-j-dev for the java version use xerces-c-dev fo

Re: question on parsing error

2001-02-05 Thread Navdeep
Hello, First I would suggest U to set Ur class path according to either JAXP or xerses. though both contain the same files. set it to include the jaxp.jar file in the jaxp directory. Then U have to use the APIs in the file jaxp.jar. But in case U only need the desired content to be printed, then

Re: question on parsing error

2001-02-05 Thread Devaguptapu Shiva
ÿþ<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=unicode" http-equiv=Content-Type> <M

RE: question on parsing error

2001-02-05 Thread Sujay Kamath
Hi. Can you please tell me what method are you trying to invoke in that class (ImplementationMessages) ? Also, let me know which is that program in the book ? Regards, Sujay. > -- > From: [EMAIL PROTECTED]:[EMAIL PROTECTED] > Reply To: [EMAIL PROTECTED] > Sent: Frida

Re: Question about how to save an XML document to disk?!

2000-12-07 Thread Christophe delapierre
i am not an expert of xml but i own the xml notepad of microsoft wich works fairly well. In the edit menu you choose save and it's done here we go christophe Jeroen Wolf a écrit : > Hi all, > > I have a question about how to save an XML document to disk. > I am using Visual C++ 6.0 as the compile

Re: Question about document type nodes and JAXP

2000-10-19 Thread Arnaud Le Hors
Don Brutzman wrote: > > our new strategy: > develop a schema to replace DTD, then use XSLT to autogenerate > - IDL for spec > - corresponding Java interfaces & methods for all elements & attributes > - stub Java classes implementing those interfaces, suitable for a sample > implementation > - do

Re: Question about document type nodes and JAXP

2000-10-19 Thread Don Brutzman
Arnaud Le Hors wrote: > [...] > > I'd try to > > convince them to stop using IDL to specify DOM and use > > UML instead. > > You're welcome to try on www-dom. I don't remember anybody ever trying > (and I've been on the DOM WG from its beginning). good ideas to consider, thanks > > (The lack of

RE: Question about document type nodes and JAXP

2000-10-18 Thread Eric Hodges
> -Original Message- > From: Arnaud Le Hors [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 18, 2000 2:25 PM > To: general@xml.apache.org > Cc: [EMAIL PROTECTED]; xerces-j-dev@xml.apache.org > Subject: Re: Question about document type nodes and JAXP >

Re: Question about document type nodes and JAXP

2000-10-18 Thread Arnaud Le Hors
Eric Hodges wrote: > > I'm not convinced that a language neutral spec is that important. What does > it give us? I'd rather use an API tailored to the language I'm in, I think. But that was one of the requirements the DOM WG had to work with. People want to implement and use the DOM in many dif

Re: Question about document type nodes and JAXP

2000-10-18 Thread Arnaud Le Hors
Sean Kelly wrote: > > Ah, so the DOM is specified in IDL, as in OMG's IDL? Yes. > I didn't know that. I'm always amazed to find out how so few people ever read the specs. Which doesn't stop some from forming opinions and be vocal about it... (that's not intended to you in particular btw!) I sug

RE: Question about document type nodes and JAXP

2000-10-18 Thread Eric Hodges
> -Original Message- > From: Sean Kelly [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 18, 2000 1:53 PM > To: general@xml.apache.org > Cc: [EMAIL PROTECTED]; xerces-j-dev@xml.apache.org > Subject: Re: Question about document type nodes and JAXP > > &g

Re: Question about document type nodes and JAXP

2000-10-18 Thread Sean Kelly
> They are but not at the IDL level. It has to be done at the language > binding level. BTW we've been told it's a known pb with IDL!... Ah, so the DOM is specified in IDL, as in OMG's IDL? I didn't know that. > > > I wish JAXP addressed this problem but it doesn't either. :-( > > > > Thanks a

Re: Question about document type nodes and JAXP

2000-10-18 Thread Arnaud Le Hors
Eric Hodges wrote: > > You can't specify a factory in IDL? You can, but it would be yet another interface which wouldn't solve the bootstrapping issue. As I said in my previous message we've been told it's a know pb with IDL!... > I don't know much about IDL, so I'm > curious why you can't. See

Re: Question about document type nodes and JAXP

2000-10-18 Thread Arnaud Le Hors
Sean Kelly wrote: > > Blech. Are static methods allowed in the DOM specification (and are > they language independent)? They are but not at the IDL level. It has to be done at the language binding level. BTW we've been told it's a known pb with IDL!... > I'd love to see a singleton or static >

RE: Question about document type nodes and JAXP

2000-10-18 Thread Eric Hodges
> -Original Message- > From: Arnaud Le Hors [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 18, 2000 12:25 PM > To: general@xml.apache.org > Cc: [EMAIL PROTECTED]; xerces-j-dev@xml.apache.org > Subject: Re: Question about document type nodes and JAXP > > >

Re: Question about document type nodes and JAXP

2000-10-18 Thread Sean Kelly
> Because there doesn't seem to be any way to specify a bootstrap > mechanism which is platform and language independent the DOM spec > doesn't define any. :-( > I've made a proposal to fix this at least for Java in DOM Level 3. In > the meantime, you have to use some "proprietary" call. Blech. A

RE: Question about document type nodes and JAXP

2000-10-18 Thread Eric Hodges
@xml.apache.org > Subject: Re: Question about document type nodes and JAXP > > > > OK, how do I get the first instance of DOMImplementation so I can create > the > > DocumentType before I create the Document? I can only find a > way to get a > > DOMImplementa

Re: Question about document type nodes and JAXP

2000-10-18 Thread Arnaud Le Hors
Because there doesn't seem to be any way to specify a bootstrap mechanism which is platform and language independent the DOM spec doesn't define any. :-( I've made a proposal to fix this at least for Java in DOM Level 3. In the meantime, you have to use some "proprietary" call. Sean Kelly wrote: >

Re: Question about document type nodes and JAXP

2000-10-18 Thread Sean Kelly
> OK, how do I get the first instance of DOMImplementation so I can create the > DocumentType before I create the Document? I can only find a way to get a > DOMImplementation if I already have a Document. Document toss = new org.apache.xerces.dom.DocumentImpl(); DOMImplementation impl = toss.getI

RE: Question about document type nodes and JAXP

2000-10-18 Thread Eric Hodges
t: Monday, October 16, 2000 8:51 PM > To: [EMAIL PROTECTED] > Cc: general@xml.apache.org; xerces-j-dev@xml.apache.org > Subject: Re: Question about document type nodes and JAXP > > > In DOM Level 2, you first need to create the doctype node with > DOMImplementation.createDocu

Re: Question about document type nodes and JAXP

2000-10-17 Thread Eric Hodges
- Original Message - From: "Arnaud Le Hors" <[EMAIL PROTECTED]> To: Cc: ; <[EMAIL PROTECTED]> Sent: Tuesday, October 17, 2000 11:14 AM Subject: Re: Question about document type nodes and JAXP > Eric Hodges wrote: > > > > > In DOM Level 2, you fi

Re: Question about document type nodes and JAXP

2000-10-17 Thread Arnaud Le Hors
Eric Hodges wrote: > > > In DOM Level 2, you first need to create the doctype node with > > DOMImplementation.createDocumentType() and then create the document node > > with DOMImplementation.createDocument() to which you pass the doctype. > > You can't change the doctype afterwards. > > Wow, tha

Re: Question about document type nodes and JAXP

2000-10-17 Thread Eric Hodges
- Original Message - From: "Arnaud Le Hors" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: ; Sent: Monday, October 16, 2000 8:51 PM Subject: Re: Question about document type nodes and JAXP > In DOM Level 2, you first need to cre

Re: Question about document type nodes and JAXP

2000-10-17 Thread Arnaud Le Hors
In DOM Level 2, you first need to create the doctype node with DOMImplementation.createDocumentType() and then create the document node with DOMImplementation.createDocument() to which you pass the doctype. You can't change the doctype afterwards. -- Arnaud Le Hors - IBM Cupertino, XML Technology

Re: Question about document type nodes and JAXP

2000-10-17 Thread Don Brutzman
Eric Hodges wrote: > > I'm still trying to add a DocumentType from to a Document. I just worked around this using JAXP by creating a dummy document of the right type and then reading it in. This restriction is probably a limitation because: http://www.w3.org/TR/2000/PR-DOM-Level-2-Core-292

RE: Question about document type nodes and JAXP

2000-10-16 Thread Eric Hodges
I'm still trying to add a DocumentType from to a Document. I'm using DocumentImpl.createDocumentType(name, publicId, systemId) to create the new DocumentType. When I call Document.importNode(docType, true) I get a run time error (NullPointerException) because DocumentImpl asks the DocumentType fo

RE: Question about document type nodes and JAXP

2000-10-10 Thread Eric Hodges
0 4:04 PM > To: general@xml.apache.org > Cc: xerces-j-dev@xml.apache.org; [EMAIL PROTECTED] > Subject: RE: Question about document type nodes and JAXP > > > Unfortunately that's a xerces specific method. Like I said, we're using > Xerces through JAXP, so we want

RE: Question about document type nodes and JAXP

2000-10-10 Thread Eric Hodges
56 PM > To: general@xml.apache.org; [EMAIL PROTECTED] > Cc: xerces-j-dev@xml.apache.org; [EMAIL PROTECTED] > Subject: Re: Question about document type nodes and JAXP > > > HI Eric! > I think the Api "cloneNode" which is in > org.apache.xerces.dom.DocumentImpl sho

Re: Question about document type nodes and JAXP

2000-10-10 Thread Venkat Ramana Karpuram
HI Eric! I think the Api "cloneNode" which is in org.apache.xerces.dom.DocumentImpl should help you out. Please check the documentation to make sure of it. I used long time back and i remember i didn't had any problems. Thanks Venkat Ramana Eric Hodges wrote: > I need to duplicate XML doc

Re: Question about Platform ?

2000-05-09 Thread Arundhati Bhowmick
The xml4c 3.1.0 binaries are build on solaris 2.6 with CC 4.2. That package does not have CC5.0 support. Best thing would be to take the source from cvs repository (in xml.apache.org) and recompile it. What's the error you get on parse(xmlFile)? You also need to check if you have the file resides i

Re: Question of a novice.

2000-03-21 Thread Wong Kok Wai
Download the latest 1.0.3 version and you should see the package. Boris Garbuzov wrote: > Where this package is? I am finding just following: >

Re: Question of a novice.

2000-03-21 Thread Boris Garbuzov
Where this package is? I am finding just following:  org.apache.xerces.dom  org.apache.xerces.dom.traversal  org.apache.xerces.domx.events  org.apache.xerces.domx.traversal  org.apache.xerces.framework  org.apache.xerces.parsers  org.w3c.dom  org.xml.sax  org.xml.sax.helpers   ---

Re: Question of a novice.

2000-03-21 Thread Wong Kok Wai
Take a look at org.apache.xml.serialize package. Boris Garbuzov wrote: > What people use to print DOM document in Xerces for Java? It is left > outside the core? Why not put to the core any default writer class > like DOMWriter from the samples? Can I use DOMWriter for commercial > needs, a littl

Re: question.

2000-02-22 Thread Arnaud Le Hors
Joakim wrote: > > Will xerces provide method for appending other Node implementation > beside NodeImpl? > > Now when i try to appendChild of another Node implementation the > following error is raised "WRONG_DOCUMENT_ERR". > Why not make a conversion to xerces Node type instead of casting that >

RE: question.

2000-02-22 Thread Linda Derezinski
Try the following: newNode = docOne.importNode( docTwo.getFirstChild() ) ___ Linda Derezinski Interface & Control Systems -Original Message- From: Joakim [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2000 2:

RE: question.

2000-02-22 Thread Jeff Lewis
The exception that you are getting is because you are trying to append a node that belongs to another document. To import a node from one document to another (whether it is a node, and element, or whatever) you must first use the DOM Document method 'importNode' DOM_Document doc1( getMyMagicalDoc

Re: Question: Namespaces/DTD

2000-02-21 Thread roddey
I'm not sure I completely understand what you want. If you just want to include bits of markup declarations in another DTD, you just can just external entities. But that has nothing to do with namespaces. Namespaces in general don't have anything to do with DTDs, and DTDs don't understand anythi

Re: Question on XMLSerializer

2000-02-19 Thread Assaf Arkin
The serializer gets the attributes from the document (DOM) or events (SAX), do by definition these attributes exist. They may have any value, and an empty string is a value. Since the attribute was obtained from the DOM, you want it to appear in the document and be brought back to the DOM when the

Re: Question on SAX2...

2000-02-10 Thread Andy Clark
Pierpaolo Fumagalli wrote: > Don't lie :) You forgot to update it yesterday :) > CVS logs tell me that you uploaded the deprecated version 4 hours ago, > so, the one I downloaded yesterday WAS NOT deprecated :) :) At the time I made the statement, I though that it was updated. But then I checked a

Re: Question on SAX2...

2000-02-09 Thread Pierpaolo Fumagalli
Andy Clark wrote: > > Pierpaolo Fumagalli wrote: > > I've seen in the original SAX2 file I got that DocumentHandler has > > been deprecated, while the one coming with Xerces, in CVS, right now > > is not? > > Actually, the DocumentHandler in Xerces is also deprecated. > The SAX2beta people deprec

Re: Question on SAX2...

2000-02-09 Thread Andy Clark
Pierpaolo Fumagalli wrote: > I've seen in the original SAX2 file I got that DocumentHandler has > been deprecated, while the one coming with Xerces, in CVS, right now > is not? Actually, the DocumentHandler in Xerces is also deprecated. The SAX2beta people deprecated a lot of the original SAX stu

Re: Question on SAX2...

2000-02-09 Thread Pierpaolo Fumagalli
Pierpaolo Fumagalli wrote: > > Another thing.. Why the setLexicalHandler() in SAXParser is protected? Sorry... Next time I'll look @ the API documentation (setProperty!) Pier -- - P I

Re: Question on SAX2...

2000-02-09 Thread Pierpaolo Fumagalli
Pierpaolo Fumagalli wrote: > > I've seen in the original SAX2 file I got that DocumentHandler has > been deprecated, while the one coming with Xerces, in CVS, right now > is not? > Is this a willing thing or just a forgotten thing? Another thing.. Why the setLexicalHandler() in SAXParser is prote

Re: question about Parser Liaison and Documents

2000-02-01 Thread Paul Levin
<[EMAIL PROTECTED]To: [EMAIL PROTECTED] > om> cc: (bcc: Scott Boag/CAM/Lotus) > Subject: Re: question about > Parser Liaison and Documents > 01/31

Re: question about Parser Liaison and Documents

2000-01-31 Thread Scott Boag/CAM/Lotus
D]To: [EMAIL PROTECTED] om> cc: (bcc: Scott Boag/CAM/Lotus) Subject: Re: question about Pa

Re: question about Parser Liaison and Documents

2000-01-31 Thread Paul Levin
Can someone please comment on this.  I posted this last Thursday, and no one has made any comments.     Thanks,     Paul Paul Levin wrote: I realize that the Document implementation class used, and the ParserLiaison class used, are tightly coupled. I notice, in the latest Xalan distribution, that

Re: Question...

2000-01-17 Thread Ted Leung
: "Ben Bertola" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 17, 2000 2:24 PM Subject: Re: Question... > I've been on this list for a couple of weeks now just kind of trying to get a feel > for everything and would also be interested in helpin

Re: Question...

2000-01-17 Thread Ted Leung
- Original Message - From: "Nicholas Oddson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 17, 2000 11:17 AM Subject: Question... > Apologies for posting this to the group, but I'm fairly new to this and > couldn't find any information on the website or in the FAQs/IN

Re: Question...

2000-01-17 Thread Ben Bertola
I've been on this list for a couple of weeks now just kind of trying to get a feel for everything and would also be interested in helping out where possible. I have to admit that I'm not too advanced in XML right now, but am using it quite a bit in some projects I have right now. One thing tha

Re: Question...

2000-01-17 Thread Mike Pogue
There are a bunch of people working on Xerces-J and C right now. Most of them are focusing on: solidifying the core (e.g. namespaces) completing DOM Level 2 (e.g ranges) XML Schema (e.g. updating to the latest draft spec) bugs (plenty of these to go around)

Re: Question about converting a live DOM structure to a string?

2000-01-04 Thread Pierpaolo Fumagalli
"Oberpriller, Wade D." wrote: > > Hello, > > I was just wondering if there is support for taking a DOM_Document object > and converting it to the equivalent XML string? The Perl DOM module simply > allows one to create a DOM_Document and call something as simple as > doc->toString(). This metho

Re: Question about latest Xerces-c_1_0_0-win32 release!!

1999-12-20 Thread Rahul Jain
Oops. Sorry our packaging scripts are still not quite there yet. We have just refreshed the win32 binary archive. Hopefully, we got the packaging right this time. rahul

Re: Question

1999-12-14 Thread twleung
This is a legal thing. Once W3C publishes their own files (the ones in org.w3c.dom have the W3C copyright), then we can copy them over the ones that we have now. I hope that won't be long, now that DOM L2 has gone CR. Ted - Original Message - From: Christopher Taylor <[EMAIL PROTECTED]>