Another feature question

2001-06-23 Thread Jim Molony
I'm confused regarding the note on expansion below on the Features Page. Does it not _only_ apply when the default Xerces node is used? http://apache.org/xml/features/dom/defer-node-expansion True: Lazy DOM node expansion. False: Full DOM node expansion. Default: true Note: This

Re: simple question?

2001-05-18 Thread Sharlene_Sallet
Regarding my question on how to parse out a value from an XML string: The following is the method I use to create the string: To create my XML String, I call the following method from a JSP. The method passes a stored procedure from an Oracle database to an EJB that actually generates the XML

Re: simple question?

2001-05-17 Thread Krzysztof Zielinski
How do you get that string ? from a file ? [EMAIL PROTECTED] schrieb: > > Hello, > > I am brand new to xml and parsing with Xerces. > > I have an XML String in a Java class that looks like this: > > > > <_data> > <_record> > > > > > > > All I want to do is pull out the value for CLUSTE

simple question?

2001-05-17 Thread Sharlene_Sallet
Hello, I am brand new to xml and parsing with Xerces. I have an XML String in a Java class that looks like this: <_data> <_record> All I want to do is pull out the value for CLUSTER_ID, which is "22165" so I can assign it to a variable. I have a Xerces parser class and imported this s

Re: Question

2001-03-14 Thread E. de Haan
TED]> Sent: Tuesday, March 13, 2001 7:57 AM Subject: Question > Hi All, > > I am using apache.xerces.parsers.DOMParser to parse xml documents. I noticed > when it is parsing any element content, it will ignore or throw away the > newline character. Can anyone tell me why it is doi

Question

2001-03-13 Thread Patrick Nip
Hi All, I am using apache.xerces.parsers.DOMParser to parse xml documents. I noticed when it is parsing any element content, it will ignore or throw away the newline character. Can anyone tell me why it is doing that and how do I make it not to ignore the character?? Thanks Patrick

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

question on parsing error

2001-02-05 Thread Devaguptapu Shiva
Hi, Thanks for ur response. But can u please help me in working out the following example from the book "Java and XML". I am having jaxp.jar,xalan.jar and crimson.jar downloaded from sun.java.com and installed as per them in jdk1.3\jre\lib\ext and the classpath was set exactly. Also I downloade

RE: question on parsing error

2001-02-05 Thread Sujay Kamath
D] > Sent: Friday, February 02, 2001 7:15 PM > To: [EMAIL PROTECTED] > Subject: question on parsing error > > Hi, > > I recently downloaded the Xerces parser and I am trying to learn how to > use > it with Java and Brett McLaughlin's book Java and XML. > >

question on parsing error

2001-02-02 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

question on parsing error

2001-02-02 Thread Sharlene_Sallet
Hi, I recently downloaded the Xerces parser and I am trying to learn how to use it with Java and Brett McLaughlin's book Java and XML. Although I seem to be able to compile ok, I am am receiving the following message when I try to execute the program: Error in parsing: Can't find bundle for base

Re: Xalan XSLT question

2001-01-18 Thread David_N_Bertoni
: <[EMAIL PROTECTED]> ail.com> cc: (bcc: David N Bertoni/CAM/Lotus) Subject: Xalan XSLT question

Xalan XSLT question

2001-01-18 Thread Lyle Coder
Hello, I parsed in two XML files, one an XHTML file and the other a XSLT file using James Clarks SP SGML parser.  In my algorithm, I construct a DOM using the Xalan DOM API.   So I have two Xalan DOMs, one for the XHTML file and one for the XSLT file.   I want to apply the XSLT transforms (wh

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 Visu

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

2000-12-06 Thread Jeroen Wolf
Hi all, I have a question about how to save an XML document to disk. I am using Visual C++ 6.0 as the compiler and Windows 98 as the platform. Only the problem is I can create XML documents in memory but I do not know how to save it to a file on the harddrive. Is this possible in Xerces C++? And

RE: basic question on xml scmeha - help me

2000-12-04 Thread Kishore Reddy
]> Reply-To: [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> CC: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: basic question on xml scmeha - help me Date: Mon, 4 Dec 2000 14:13:11 -0700 A couple of issues: The xerces-

Re: basic question on xml scmeha - help me

2000-12-04 Thread Eric Ye
by the XML 1.0 spec. _ Eric Ye * IBM, JTC - Silicon Valley * [EMAIL PROTECTED] - Original Message - From: "Kishore Reddy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 04, 2000 12:37 PM Subject: basic question on xml scmeha - help me >

RE: basic question on xml scmeha - help me

2000-12-04 Thread Arnold, Curt
A couple of issues: The xerces-dev list is dead, use the xerces-j-dev (or xerces-c-dev for C++ related questions) list instead. The XML declaration must be the very first thing in the file (not even line feeds or white space) before it. It would appear that you have the XML declaration () on

basic question on xml scmeha - help me

2000-12-04 Thread Kishore Reddy
I am XML beginner. I have very basic question on xml scmeha. I am trying to parse (SAX Parser) simple xml using schema and got the following error. Attached are simple xml file and schema. Please help me in this regard. I am using xerces parser "xerces-

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
PROTECTED]; > general@xml.apache.org > Subject: Question about document type nodes and JAXP > > > I need to duplicate XML documents. I'm using Xerces, going > through the JAXP > interface. I can't find any way to copy the document type node from one > documen

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

Question about document type nodes and JAXP

2000-10-10 Thread Eric Hodges
I need to duplicate XML documents. I'm using Xerces, going through the JAXP interface. I can't find any way to copy the document type node from one document to a new one. What are other people doing in this situation, or is there a suggested way to do it? Thanks.

Question on ICU

2000-07-12 Thread kbagepalli
I apoligize for this question in this group. If anybody is using ICU libraries is there any way, we can set the directory to the ICU data directory dynamically rather than as a environment variable. Kiran

Re: Question about Platform ?

2000-05-09 Thread Arundhati Bhowmick
* Explanation, don't found method of .cpp > > I running the SAXCount sample binarie in the distribution > and working OK with the same file xml. > > The SAXCount sample binarie is builded with SUN 2.6 and > Workshop 4.2 or gcc ? > > My question is,

Question about Platform ?

2000-05-08 Thread Roberto Gil
don't found method of .cpp I running the SAXCount sample binarie in the distribution and working OK with the same file xml. The SAXCount sample binarie is builded with SUN 2.6 and Workshop 4.2 or gcc ? My question is, the problem is SUN 2.7 and Workshop 4.2. P

Re: same question

2000-04-05 Thread roddey
anner. Dean Roddey Software Weenie IBM Center for Java Technology - Silicon Valley [EMAIL PROTECTED] Joe Futrelle <[EMAIL PROTECTED]> on 04/04/2000 07:07:02 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: same question Gotcha. OK, one mo

Re: same question

2000-04-05 Thread Joe Futrelle
Gotcha. OK, one more question: is it legal for a SAX parser to call handler methods as it reads elements, and not after it has read the final EOF? Xerces's current behavior regardless of the input source is to read the entire document into a memory buffer and then parse the data in the b

Re: same question

2000-04-04 Thread roddey
ROTECTED] cc: Subject: same question I've looked further into the Xerces-C code and it appears that both the SAX and DOM parsers use XMLReader to get character data from the input source, and that XMLReader assumes that it can read until EOF. What I'd like to do then seems impossi

same question

2000-04-04 Thread Joe Futrelle
I've looked further into the Xerces-C code and it appears that both the SAX and DOM parsers use XMLReader to get character data from the input source, and that XMLReader assumes that it can read until EOF. What I'd like to do then seems impossible; which is to read top-level elements from a socket

RE: Newby question: Get Text of a Node

2000-04-04 Thread Anthony Dodd
[mailto:[EMAIL PROTECTED]Sent: 03 April 2000 17:51To: [EMAIL PROTECTED]Subject: Re: Newby question: Get Text of a Node The text of an element is contained in text nodes that are children of the element node.  It's always a little awkward to get it out.   Elements can ha

Re: Newby question: Get Text of a Node

2000-04-03 Thread Andy Heninger
list.     -- Andy - Original Message - From: Nathan Troxler To: [EMAIL PROTECTED] Sent: Saturday, April 01, 2000 1:15 AM Subject: Newby question: Get Text of a Node But I am a bit confused about getting the Text inside a Tag:   In the XML I have: ... Th

Newby question: Get Text of a Node

2000-04-01 Thread Nathan Troxler
Hello all!   I just began to use Apache XML for my C++ /MFC app. So far I can read in my XML-File and read the data.   I used the sample code to get access to nodes, names and values. I know how to access the attributes and corresonding values.   But I am a bit confused about getting the Te

Re: DOM_Node::removeChild question

2000-03-29 Thread roddey
IL PROTECTED] cc: Subject: DOM_Node::removeChild question Hi, When I call the DOM_Node::removeChild() method, I get back a DOM_Node. Am I responsible for cleaning up the memory associated with this node? If so, how? Mike Krause Hewlett-Packard Company

DOM_Node::removeChild question

2000-03-28 Thread KRAUSE,MIKE (HP-FtCollins,ex1)
Hi, When I call the DOM_Node::removeChild() method, I get back a DOM_Node. Am I responsible for cleaning up the memory associated with this node? If so, how? Mike Krause Hewlett-Packard Company

Re: xerces c++ question

2000-03-27 Thread Arundhati Bhowmick
This problem was addressed couple of times in this forum. If you take the xerces source from the cvs and rebuilt it'll work fine on SUn CC 5.0. This support was introduced after the release of the tar files on the site. Arundhati Tomasz Jaworski wrote: > Has anyone had any luck using the xerces

xerces c++ question

2000-03-24 Thread Tomasz Jaworski
Has anyone had any luck using the xerces lib with Sun Workshop 5.0 compiler?? Running on Sunos 5.7?? I'm having a lot of linker errors. Any help would be appreciated. Thank You, -- [EMAIL PROTECTED]

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

Question of a novice.

2000-03-21 Thread Boris Garbuzov
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 little modifying it and inserting to my source tree? Some other writing extensions f

XML4C DOM cloneNode and casting question

2000-03-03 Thread Rahul Jain
> > b) What should be the correct way of down casting a DOM_Node to a > DOM_Element? I have run into this problem on several occasions where I get > a DOM_Node by using the DOM traversal functions and, after determining its > type to be DOM_Node::ELEMENT_NODE, I would like to start using it as a

Re: XML4C DOM cloneNode and casting question

2000-03-03 Thread David N Bertoni/CAM/Lotus
KRAUSE,MIKE (HP-FtCollins,ex1)" <[EMAIL PROTECTED]> on 03/02/2000 08:05:58 PM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: David N Bertoni/CAM/Lotus) Subject: XML4C DOM cloneNode and casting question Hello, Given the following C++ function (which is suppo

Re: elementary delete question -- DOM

2000-03-03 Thread Andy Heninger
reference to the removed node, it will > eventually be deleted. With an implementation that doesn't support garbage > collection, it's up to the implementation to specify how the node is > deleted. > And, to answer the question specifically for the Xerces-C DOM, it is very similar

XML4C DOM cloneNode and casting question

2000-03-03 Thread KRAUSE,MIKE (HP-FtCollins,ex1)
: while (!bfound && (tmp_node != 0)) { 12: if (tmp_node.getNodeType() == DOM_Node::ELEMENT_NODE) { 13:if (tmp_node.getNodeName().equals(element_name)) { 14: bfound = true; 15: element = tmp_node; // This is the line in question

Re: [Xerces-J] OT question on JAXP implementation

2000-03-02 Thread Pierpaolo Fumagalli
Andy Clark wrote: > > Pierpaolo Fumagalli wrote: > > There's a HUGE document somewhere @ Sun explaining why and how > > Class.forName() shouldn't be used in JDK 1.2 environments, and that's > > the recomandation they give... > > > > I don't know, do I have to change it? Votes? > > Regardless of t

Re: [Xerces-J] OT question on JAXP implementation

2000-03-02 Thread Andy Clark
Pierpaolo Fumagalli wrote: > There's a HUGE document somewhere @ Sun explaining why and how > Class.forName() shouldn't be used in JDK 1.2 environments, and that's > the recomandation they give... > > I don't know, do I have to change it? Votes? Regardless of this paper, if the code does not comp

Re: Late night DOM question

2000-03-01 Thread Chris Gokey
Hi Brett, I believe you are missing: Element root = doc.getDocumentElement(); -then- call: NodeList nodes = root.getElementsByTagName("JavaXML:hostname"); if (nodes.getLength() > 0) { hostname = nodes.item(0).getNodeValue(); } nodes = root.getElementsByTagName("JavaXML:port"); if (nodes.

Late night DOM question

2000-03-01 Thread Brett McLaughlin
I must be getting stupid as the night wears on... can someone point me in the direction in what error I am making?   For the following XML document:       localhost   85   and this code snippet:   try {     DOMParser parser = new (org.apache.xerces.parsers.)DOMParser();     parser.parse(u

RE: elementary delete question -- DOM

2000-02-29 Thread Sean MacRoibeaird - Sun ireland - Solaris Software - Staff Engineer
I have a couple of questions: 1. Is there a C++ driver for the XML conformance tests (downloaded from www.xml.com with a Java driver) 2. Does there exist a C++ implementation for the conformace test suites for XML? regards, Sean -- Sean

Re: elementary delete question -- DOM

2000-02-29 Thread Christian Lizell
Jeff Mackay wrote: > > This thread is probably off-topic for this list. I would suggest moving > further questions to the w3-dom discussion list (see http://www.w3.org/). > > > Sorry for jumping into this discussion, but when you say that the node > > still exists after you remove it, what happen

RE: elementary delete question -- DOM

2000-02-29 Thread Jeff Mackay
This thread is probably off-topic for this list. I would suggest moving further questions to the w3-dom discussion list (see http://www.w3.org/). > Sorry for jumping into this discussion, but when you say that the node > still exists after you remove it, what happens when I do the following? > >

Re: elementary delete question -- DOM

2000-02-29 Thread Christian Lizell
Jeff Mackay wrote: > > > If I delete a node in a DOM tree I'm assuming *all* of the children are > > effectively deleted as well. > > Actually, DOM doesn't provide a way to "delete" a node. You can remove > a node from its parent, which effectively removes the node as well as all > of its childre

RE: elementary delete question -- DOM

2000-02-29 Thread Jeff Mackay
> If I delete a node in a DOM tree I'm assuming *all* of the children are > effectively deleted as well. Actually, DOM doesn't provide a way to "delete" a node. You can remove a node from its parent, which effectively removes the node as well as all of its children and attributes. But the node sti

elementary delete question -- DOM

2000-02-29 Thread heather_matthews
If I delete a node in a DOM tree I'm assuming *all* of the children are effectively deleted as well. In other words, if I aim to delete an element, all of it's associated attribute nodes and child element nodes will be "gone" too. Thanks, Heather

Re: [Xerces-J] OT question on JAXP implementation

2000-02-27 Thread Pierpaolo Fumagalli
Assaf Arkin wrote: > > getContextClassLoader() is a way for someone up the heirarchy to let > someone down the heirarchy know which class loader to use. > > For example, if I have a Servlet container and my Serlvet is running in > a special class loader X (for implementing reloading), and the Ser

Re: [Xerces-J] OT question on JAXP implementation

2000-02-27 Thread Assaf Arkin
reaks 1.1 compatibility. arkin Pierpaolo Fumagalli wrote: > > Wong Kok Wai wrote: > > > > I like to ask a question on the implementation of > > javax.xml.parsers.SAXParserFactory: Why is the advantage of using > > Thread.currentThread().getContextClassLoader().loadC

Re: [Xerces-J] OT question on JAXP implementation

2000-02-27 Thread Pierpaolo Fumagalli
x27;m in Java2 land, but I'm sure there are others who would care.) > > - Sean T. > > -Original Message- > From: Pierpaolo Fumagalli > To: [EMAIL PROTECTED] > Sent: 2/27/00 12:24 AM > Subject: Re: [Xerces-J] OT question on JAXP imp

RE: [Xerces-J] OT question on JAXP implementation

2000-02-27 Thread Timm, Sean
are others who would care.) - Sean T. -Original Message- From: Pierpaolo Fumagalli To: [EMAIL PROTECTED] Sent: 2/27/00 12:24 AM Subject: Re: [Xerces-J] OT question on JAXP implementation Wong Kok Wai wrote: > > I like to ask a question on the implementation of > javax.xml.parsers.SAXP

Re: [Xerces-J] OT question on JAXP implementation

2000-02-27 Thread Pierpaolo Fumagalli
Wong Kok Wai wrote: > > I like to ask a question on the implementation of > javax.xml.parsers.SAXParserFactory: Why is the advantage of using > Thread.currentThread().getContextClassLoader().loadClass() to load class > compare to Class.forName()? > > (This implementation al

[Xerces-J] OT question on JAXP implementation

2000-02-27 Thread Wong Kok Wai
I like to ask a question on the implementation of javax.xml.parsers.SAXParserFactory: Why is the advantage of using Thread.currentThread().getContextClassLoader().loadClass() to load class compare to Class.forName()? (This implementation also mean Xerces cannot be compile with JDK 1.1.x).

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
00 2:38 PM To: '[EMAIL PROTECTED]' Subject: question. 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 mak

RE: question.

2000-02-22 Thread Jeff Lewis
' prefix and change the casting to Java's) -Original Message- From: Joakim [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2000 12:38 PM To: '[EMAIL PROTECTED]' Subject: question. Will xerces provide method for appending other Node implementation beside No

question.

2000-02-22 Thread Joakim
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 exception? //jocke Joakim O

Re: Question: Namespaces/DTD

2000-02-21 Thread roddey
ase respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Question: Namespaces/DTD Hello! I`m trying to include Elements of another Namespace (another DTD) in my current DTD. I also would like the XML-Parser to validate this element (including its successors). Can anyone help m

Question: Namespaces/DTD

2000-02-21 Thread Thomas Conradi
Hello! I`m trying to include Elements of another Namespace (another DTD) in my current DTD. I also would like the XML-Parser to validate this element (including its successors). Can anyone help me out with a piece of simple code? Or perhaps my understanding of Namespaces is simply wrong? Thanks

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

Question on XMLSerializer

2000-02-19 Thread Wong Kok Wai
Currently, when an attribute has no value, it is still serialized with an value of zero-length string. Is this behaviour correct? I rather think nothing should be serialised is more correct. At least the document size would be smaller if most of the attributes are not initialised. With the current

Re: Help!! A beginner's question

2000-02-11 Thread Arundhati Bhowmick
on: > > Yes. After setting the LD_LIBRARY_PATH, everything works fine. Thank you > very much! > > Sean > > > -Original Message- > > From: RHS Linux User [mailto:[EMAIL PROTECTED] > > Sent: Friday, February 11, 2000 10:16 AM > > To: [EMAIL PROTECTED]; [EM

RE: Help!! A beginner's question

2000-02-11 Thread Sean Han
t: Re: Help!! A beginner's question > > > > Hi Sean. I had the same problem and *was* using ICU -- > what's more I set > the ICU_DATA environment variable to what it said and it > didn't work. The > real problem is probably that your LD_LIBRARY_PATH variable isn&

Re: Help!! A beginner's question

2000-02-11 Thread RHS Linux User
Hi Sean. I had the same problem and *was* using ICU -- what's more I set the ICU_DATA environment variable to what it said and it didn't work. The real problem is probably that your LD_LIBRARY_PATH variable isn't set right. You'll need to set it to the directory that contains the libxerces-c1_0

Help!! A beginner's question

2000-02-11 Thread Sean Han
Hi: When I used the xerces-c++, I always get the following message no matter I run the sample program of mine. The Xerces-C system could not be initialized. If you are using ICU, then the most likely reason for this failure is the inability to find the ICU coverter files. The converter file

Re: [Xerces-J] architecture question

2000-02-11 Thread Andy Clark
Gregory Krasnow wrote: > ok thanks. I was just curious since it seemed that even if I just wanted to > use the DOM parser, I had to include classes from org.xml.sax. I wanted to > know if maybe it would be better for some of these (like InputSource, > ErrorHandler, etc...) should be in org.apache

RE: [Xerces-J] architecture question

2000-02-10 Thread Gregory Krasnow
obvious that they are general classes instead of part of the actual SAX implementation. - Greg -Original Message- From: Andy Clark [mailto:[EMAIL PROTECTED] Sent: Thursday, February 10, 2000 1:31 PM To: [EMAIL PROTECTED] Subject: Re: [Xerces-J] architecture question Gregory Krasnow wrote

Re: [Xerces-J] architecture question

2000-02-10 Thread Andy Clark
Gregory Krasnow wrote: > Since it seems like many of the classes one needs to use regardless > of parser come form org.xml.sax, am I correct in assuming that > Xerces is basically a SAX parser that has implemented a DOM tree > from the SAX parser?? If you look at the code, you'll notice that we

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

[Xerces-J] architecture question

2000-02-10 Thread Gregory Krasnow
Since it seems like many of the classes one needs to use regardless of parser come form org.xml.sax, am I correct in assuming that Xerces is basically a SAX parser that has implemented a DOM tree from the SAX parser?? - Greg Gregory Krasnow Senior Software Engineer Stone Analytics, Inc. [EMAIL

  1   2   >