Re: [Xerces2] Scanner Interfaces

2001-08-08 Thread Andy Clark
Edwin Goei wrote: > When you said you ran it through the OASIS test suite, what do you mean > by this? As I understand it the current tests at OASIS are broken and > there is a fixed version elsewhere, but it requires manually > interpreting over 1200 negative tests to verify passing those tests.

Re: xml schema parser

2001-08-08 Thread jia wei
Hi Elena, Thanks for your reply, actually I will need an XML schema parser to get the xml element structure from the xml schema, like whether the element is simple type or complex type, the attributes it contains, minOccurs, maxOccurs and etc. is there any package in xerces I can use to get the

[Xerces-2]: re:schema parsing design

2001-08-08 Thread Kohsuke KAWAGUCHI
> Two that I can see: First, this approach would involve a total rewrite of > schema support; it's not at all obvious to me that much of the X1 code > could be ported over at all. I see. This is an understandable reason. > Secondly, because components can reference > each other with virtually

[Xerces2] How do we want Grammar Caching

2001-08-08 Thread sandygao
Hi folks, As Neil Graham mentioned, we are working on the design of Xerces2 schema support. There will be two big changes in Xerces2. One is the redesign of schema parsing, which is covered in detail in Neil's note. The other one is grammar caching, which is also related to DTD and, possibly, oth

Re: [Xerces2] Bundling and Packaging

2001-08-08 Thread Edwin Goei
Andy Clark wrote: > > Edwin Goei wrote: > > +1, sounds good to me. I'd support moving portions of code that > > are not maintained and which few people use to a separate package. > > Exactly. How do you feel about creating a new "contrib" directory > in the xml-xerces module where this code is

[Bug 2793] - xml:lang should support RFC3066 and ISO639-2.

2001-08-08 Thread bugzilla
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2793

Re: Different versions of Xerces output different results

2001-08-08 Thread Elena Litani
Hi, Clement, > When I used TreeWalker in Xerces 1.4.0, it output all > my nodes and atts correctly. However, in 1.4.1, it > output multiple times of nodes and even worse > Some bug fixes to TreeWalker were applied after 1.4.2 release. Please, extract the code from CVS and try it. Let us know

[castor-dev] 0.9.3??

2001-08-08 Thread michael robkin
My classes are generated with the following: why does is say Castor0.9.2     /*  * This class was automatically generated with  * href="http://castor.exolab.org">Castor 0.9.2, using an  * XML Schema.  * $Id$  */    

Re: [Xerces2] Scanner Interfaces

2001-08-08 Thread Edwin Goei
First, sorry it took so long to get around to reading this message. My comments/questions are inline... Andy Clark wrote: > > Everyone, > > Okay, I have added the scanner interfaces and made the changes > to the Xerces2 reference implementation to implement this. I > built it and ran it throug

Re: Fix for memory leak in StringReader

2001-08-08 Thread neilg
Hi Jeremy, Thanks for the patch; I've just applied it. Cheers, Neil Neil Graham XML Parser Development IBM Toronto Lab Phone: 416-448-3519, T/L 778-3519 E-mail: [EMAIL PROTECTED] Jeremy Carroll <[EMAIL PROTECTED]>@hplb.hpl.hp.com on 08/08/2001 06:42:10 AM Please respond to [EMAIL PROTECTE

castor 0.9.3???

2001-08-08 Thread michael robkin
My classes are generated with the following: why does is say Castor0.9.2     /*  * This class was automatically generated with  * href="http://castor.exolab.org">Castor 0.9.2, using an  * XML Schema.  * $Id$  */  

FW: am i really using 0.9.3

2001-08-08 Thread michael robkin
          My classes are generated with the following: why does is say Castor0.9.2     /*  * This class was automatically generated with  * Castor" 0.9.2, using an  * XML Schema.  * $Id$  */

FW: cloneNode and appendChild functions

2001-08-08 Thread Terry Medearis
Thank You! Thank You! Thank You! That worked... well, I had to add "true" as an importNode parameter... i.e. Node cloneElement = resultDoc.importNode(incomingNode, true); but otherwise, this seems to have gotten me to the next hurdle. Thanks, Terry -Original Message- From: [EMAIL P

Re: cloneNode and appendChild functions

2001-08-08 Thread Franck_Schmidlin
I know that one! Use : public Document makeDomDocument(Element incomingNode, Document resultDoc) { if (incomingNode != null) { Element cloneElement = resultDoc.importNode(incomingNode); resultDoc.appendChild(cloneElement); } return resultDoc; } "Terry M

cloneNode and appendChild functions

2001-08-08 Thread Terry Medearis
Greetings, I am experiencing problems in cloning an Element node and appending the result to a document i.e.: public Document makeDomDocument(Element incomingNode, Document resultDoc) { if (incomingNode != null) { Element cloneElement = (Element) incomingNode.cloneNo

Re: [Xerces-2]: schema parsing design; discussion starter [long]

2001-08-08 Thread neilg
Hi Kohsuke, Thanks for your note; lots of interesting questions here. > 1. Does SchemaHandler attempt to reuse the loaded schema documents? > In other words, say a schema document A imports Z and B also imports > Z, but A and B are unrelated each other. > > When you load A and B, is Z reus

Re: xml schema parser

2001-08-08 Thread Elena Litani
Xerces-2 does not have any XML Schema support. If you need XML Schema support use Xerces: http://xml.apache.org/xerces-j/schema.html Elena jia wei wrote: > > Hi, > > I am developing some application using xml schema. I > have downloaded xerces-2 and found there is a schema > parser class, but

[Bug 2793] - xml:lang should support RFC3066 and ISO639-2.

2001-08-08 Thread bugzilla
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2793

[Bug 2793] - xml:lang should support RFC3066 and ISO639-2.

2001-08-08 Thread bugzilla
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2793

[Bug 2793] - xml:lang should support RFC3066 and ISO639-2.

2001-08-08 Thread bugzilla
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2793

Are you currently working on DOM L2 Style implementation?

2001-08-08 Thread [EMAIL PROTECTED]
Hi, there! Short question: Are you currently working on a DOM L2 Style implementation? It seems to be the last missing DOM2-Feature for Xerces-J. I can't find some info about that on http://xml.apache.org/. If yes: When do you expect a Xerces-J version with an experimental implementation? If not

[Bug 3040] New: - Xerces accepts namespace declarations with NS prefix and empty namespace name

2001-08-08 Thread bugzilla
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3040

Re: DTD Reading Urgent

2001-08-08 Thread Glenn Marcy
>is there any other work around . I am not sure how one would "work around" a missing feature other than to implement it. Adding an "xml-string" property to the SAX parser is straightforward and it would simply have to ask the DTD scanner to provide values for events. In the scanner, you save t

Re: Fix for memory leak in StringReader

2001-08-08 Thread Jeremy Carroll
[EMAIL PROTECTED] wrote: > Hi Jeremy, > > Just FYI, the best way to submit patches is as follows: > > - Run a cvs diff on each file you've changed; > - then submit each file *as an attachment* in a message to the list, > clearly indicating just what's being corrected. I attach a patch file for G

xml schema parser

2001-08-08 Thread jia wei
Hi, I am developing some application using xml schema. I have downloaded xerces-2 and found there is a schema parser class, but I have no idea how to use this class. after I generate the javadoc, it does not give me any hint either. can anybody help? thanks. j.w. __

RE: [Xerces2] Bundling and Packaging

2001-08-08 Thread Jeremy Carroll
Taking some ideas from my colleagues about contrib in opensource ... When you go to a site and download stuff it is helpful if it works (together?). A contrib where you unpack and things don't work is annoying. javadoc quality improves if it is all made in one go. My understanding of the propos

Re: [Xerces2] Bundling and Packaging

2001-08-08 Thread Andy Clark
Edwin Goei wrote: > +1, sounds good to me. I'd support moving portions of code that > are not maintained and which few people use to a separate package. Exactly. How do you feel about creating a new "contrib" directory in the xml-xerces module where this code is placed? It would then be require

Re: [Xerces2] Bundling and Packaging

2001-08-08 Thread Franck_Schmidlin
Andy Clark wrote: > > So what do people think? Would it be unreasonable to pull > the WML and HTML DOM implementations out of the package > at this time? We have never addressed the problem we have > with contributed code. I'd vote for a separate package and > download of user-donated code. +