[Announce] NekoHTML 0.4.1 Available

2002-05-03 Thread Andy Clark
The NekoHTML 0.4.1 HTML parser for Xerces2 is now available. This release includes the following changes: * Fixed some unquoted attribute value scanning bugs reported by Xiaowei Jiang; * Fixed hack for Xerces 2.0.1 reported by Ron Cemer; and * Now passing locator object to startDocument

How to include reference of an xml schema

2002-05-03 Thread Pavitra Jain
Hi All, I am extending class XMLReader to write my own Parser in Xerces. I use the contenthandler to generate the doc and the root element as shown below ch.startDocument(); ch.startElement(, , POS, EMPTY_ATTR); This generates the POS element. Now I want the POS to be generated as follows POS

html dom methods

2002-05-03 Thread step1b
I am wondering how the methods (not getters/setters) of org.apache.html.dom.* are used. I see that the submit() method of HTMLFormElementImpl does nothing. Where and how are these methods used in practice? st. - To

Using the properties

2002-05-03 Thread step1b
Can somebody tell me how to use the property http://xml.org/sax/properties/dom-node that tells the node that erred. Doing the folowing way seems to be incorrect: org.w3c.dom.Node n = null; DOMParser domp = new DOMParser();

Parsing DOM

2002-05-03 Thread Joan Pujol Espinar
Hi, I want to parse a XML Document with DOM. I know well the format of the document, and I have a XML schema for it. I want to get some dispersed nested elements in arbitrally order. I have been examining the DOM API and I can't find a comfortable way to do it. A B C/ C/ C/ C/

SAX problems

2002-05-03 Thread cyril vidal
Dear all, I'm new in JAXP's world and I have some problems with an example of tutorial that perhaps some of you know (explained by Nicholas Chase on IBM developerWorks http://www-106.ibm.com/developerworks/education/xmljava ) I run under JAVA 2 SDK Standard Edition version 1.3.0 and Xalan-JAVA 2

RE: SAX problems

2002-05-03 Thread Pavitra Jain
Hi, you need to print the qualified name, the qname argument in the startElement method Regards, Pavitra Jain -Original Message- From: cyril vidal [mailto:[EMAIL PROTECTED] Sent: Friday, May 03, 2002 4:51 PM To: [EMAIL PROTECTED] Subject: SAX problems Dear all, I'm new in JAXP's

RE: SAX problems

2002-05-03 Thread cyril vidal
Thanks a lot! It runs now. But why should I do this? In my xml file, ther's no namespace... Is there any explication? Thanks Cyril -Original Message- From: cyril vidal [mailto:[EMAIL PROTECTED] Sent: Friday, May 03, 2002 4:51 PM To: [EMAIL PROTECTED] Subject: SAX problems Dear

Re: Xerces / Dom3 / Jaxp

2002-05-03 Thread Elena Litani
Hi Marc, Marc Logemann wrote: 1. with xerces 2.x we have a bootstrap mechanism which is defined in dom3. This is quite nice, but what about the bootstraping in jaxp? Will it be obsolete? No. Some people will continue using JAXP (that provides bootstrapping for both DOM/SAX parsers), while

Re: [Xerces2] Please review: schema component API

2002-05-03 Thread sandygao
Right after I posted the previous message, I realized that there are so many name conflicts between the interface names and the class names already in impl.xs package. To avoid writing the full package name (org.apache.xerces.impl.xs.psvi) all over the files, I've changed some of the interface

Re: how to modify DOCTYPE node in an existing document?

2002-05-03 Thread Elena Litani
[EMAIL PROTECTED] wrote: I need to change/assign DTD in a DOM object, so I'm creating a new document with a doctype I need and copying all the children of the root node. Does anybody know if there is a better and less expensive way to modify or set DOCTYPE in an existing document? The doctype