1.3.1 release plan

2001-02-21 Thread lmartin
The xerces committers will be voting on the 1.3.1 release plan fairly soon (probably in the next day or 2). I've attached the proposal below (it can be found in cvs as well). If anyone wants to volunteer any other work for this release, pls let us know ASAP. Thx, Lisa. (See attached file: RELE

Re: Getting started ...

2001-02-21 Thread Martin Welch
I don't need to set the classpath according to the readme: 3.1 Building on Windows Platform If your JDK is properly installed on your system, you do not need to set any CLASSPATH to build Xerces. If you have one, make sure it does not end with a '\' or it will cause the build to fail What woul

RE: multiple pairs in schemaLocation

2001-02-21 Thread Keith Jensen
Alex, This worked in versions prior to 1.3.0. I made use of multiple pairs in my schemaLocation values with Xerces 1.2.3. I no longer need to do this anymore, as a result, I haven't tried it in 1.3.0. One way to work around it is to put each additional pair on the element that uses the namespac

Re: How to traverse a DOM in an object-oriented manner? Without switch{}?

2001-02-21 Thread Arnaud Le Hors
Peter, If you want to lobby for support of the visitor pattern in the DOM, you should post a message to [EMAIL PROTECTED] This is where DOM design questions are discussed. To tell you the truth it won't be the first request for it and I don't know if it will make any difference. But you never know,

multiple pairs in schemaLocation

2001-02-21 Thread Aleksandar Milanovic
Hi,   It seems that Xerces 1.3.0 doesn't support multiple pairs (namespace, location) in schemaLocation, i.e. it ignores all couples except the first one. When will this be fixed?   thx Alex Aleksandar Milanovic Software Engineer Galdos Systems

Re: Getting involved in Xerces Development

2001-02-21 Thread Ted Leung
- Original Message - From: "Sam Ruby" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 21, 2001 12:01 PM Subject: Re: Getting involved in Xerces Development > Ted Leung wrote: > > > > I agree that this topic is one for the public mailing list. > > However, Brian *ASK

Re: How to traverse a DOM in an object-oriented manner? Without switch{}?

2001-02-21 Thread Peter Meyer
Ooops I overlooked that in the FAQ. Thanks. Although I agree that you can emulate visitors with iterators and switch statements, the resulting code is not very robust and maintainable in a large scale implementation. Switch statements with casts of node types are just an inherently risky and, fr

Re: Getting involved in Xerces Development

2001-02-21 Thread Sam Ruby
Ted Leung wrote: > > I agree that this topic is one for the public mailing list. > However, Brian *ASKED for a way to ask his questions > OFF-LINE*. He already knew how to post to a public forum > if that was what he wanted to do. I can't believe that I'm > getting castigated for honoring someone

Re: Getting involved in Xerces Development

2001-02-21 Thread Ted Leung
I agree that this topic is one for the public mailing list. However, Brian *ASKED for a way to ask his questions OFF-LINE*. He already knew how to post to a public forum if that was what he wanted to do. I can't believe that I'm getting castigated for honoring someone's request for an off-line c

Re: How to traverse a DOM in an object-oriented manner? Without switch{}?

2001-02-21 Thread Arnaud Le Hors
There is currently no support for the visitor pattern in the DOM. See http://www.w3.org/DOM/faq.html#visitor -- Arnaud Le Hors - IBM Cupertino, XML Strategy Group

Re: Getting involved in Xerces Development

2001-02-21 Thread Sam Ruby
Elena Litani wrote: > > I think we all agreed that since it is an open source project we are > going to talk about development all together. > > Thus, I would strongly suggest to Brad to post his questions on > xerces-j-dev list. Current development for XercesJ is mostly done by > Lisa Martin, Neil

How to traverse a DOM in an object-oriented manner? Without switch{}?

2001-02-21 Thread Peter Meyer
Hi, I have been playing around a bit with the DOM samples in the xerces distribution. In the DOMCount example, to mention one instance, there is code of the type: int type = node.getNodeType(); switch (type) { // print document case Node.DOCUMENT_NODE: { ... }

Re: Getting involved in Xerces Development

2001-02-21 Thread neilg
Hi Ted, I for one certainly have noticed your work of late, and I think you've done a great job--and not just in spearheading initiatives like the release plan but in contributing to the ongoing threads regarding XNI. I'd say keep up the good work! This is open source, so if you can see ways t

Re: Getting involved in Xerces Development

2001-02-21 Thread Ted Leung
Hi Elena, Sometimes there are questions that people have that they don't want to air in the public list. I was only trying to provide a way for Brad to talk to someone in confidence if he wanted to. As far as current development of Xerces-J goes, you should start to see code and patches from me

Re: Getting involved in Xerces Development

2001-02-21 Thread Elena Litani
Hi, Ted, I think we all agreed that since it is an open source project we are going to talk about development all together. Thus, I would strongly suggest to Brad to post his questions on xerces-j-dev list. Current development for XercesJ is mostly done by Lisa Martin, Neil Graham, Arnaud LeHors

Re: addEventListener

2001-02-21 Thread Arnaud Le Hors
Alan Martin wrote: > > > I'm xerces newbie so I'm not sure that is correct or not. > > So am I, but I know Java. ^_^ > > > // > > Node testTarget = document.getElementsByTagName("head").item(0); > > EventListener TestEventListener = new EventListenerImpl(); > > testTarget.addEventListener( "mut

Re: Getting involved in Xerces Development

2001-02-21 Thread Ted Leung
Brad, You can e-mail me at [EMAIL PROTECTED] Ted Leung - Original Message - From: "Brad O'Hearne" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 21, 2001 9:43 AM Subject: Getting involved in Xerces Development > Is there one of the developers/leaders on this Xerce

Getting involved in Xerces Development

2001-02-21 Thread Brad O'Hearne
Is there one of the developers/leaders on this Xerces project that would be interested in fielding a few questions off-line that I have about getting involved with the development of Xerces? Brad

Re: addEventListener

2001-02-21 Thread Arnaud Le Hors
"j80m " wrote: > > But, I found something strange. > > In DOM2 Events, MutationEvent interface, initMutationEvent(~) > > public void initMutationEvent( String typeArg, > boolean canBubbleArg, > bo

Re: addEventListener

2001-02-21 Thread ëêí
Thanks, Alan & Stephane. I'm a bit surprised at such an quick responses. Well, I should've introduced myself as a Java newbie. I fixed my code like the following, and got no compile errors. NodeImpl testTarget = (NodeImpl)document.getElementsByTagName("head").item(0); But, I found something st

Timeline for nullable feature..??

2001-02-21 Thread René Jensen
Hi there I´m new to this list, and have looked in the archives (witch isn´t quite new). And I haven't found anything about this... I was trying to validate a dokument using the nullable feature and it didn't work, after a while a saw is on the "feature NOT supported"-list. My question is, are

Notations in schema (readme!)

2001-02-21 Thread Elena Litani
Hi, all, We are planning to implement support for schemas in upcoming Xerces Release [see http://www.w3.org/TR/2000/CR-xmlschema-1-20001024/#declare-notation]. However, DOM & SAX don't provide APIs for exposing Schema notations to applications. Note that schema notations are different from DTD no

Re: addEventListener

2001-02-21 Thread Alan Martin
> I'm xerces newbie so I'm not sure that is correct or not. So am I, but I know Java. ^_^ > // > Node testTarget = document.getElementsByTagName("head").item(0); > EventListener TestEventListener = new EventListenerImpl(); > testTarget.addEventListener( "mutation", TestEventListener, false ); >

Réf. : addEventListener

2001-02-21 Thread Stephane . RAULT
I'm not a specialist of what you want to do. Node testTarget = document.getElementsByTagName("head").item(0); EventListener TestEventListener = new EventListenerImpl(); testTarget.addEventListener( "mutation", TestEventListener, false ); testTarget is a instance of the class Node (from package

addEventListener

2001-02-21 Thread ëêí
I have a problem in Event handler registration. I want to add an event handler to some node, say, "someNode" using Java Binding. but, after parsing, the return value of parser.getDocument() (parser is an instance of DOMParser), say, document, is a Document's instance. In addition the return val

Re: xerces 3.1.1

2001-02-21 Thread Elena Litani
Hi, Kimaro, > I downloaded XML4J-j-bin.3.1.1 hoping to have xerces 3.1.1 in the package. Please, note XML4J releases are not *equal* to Xerces ones. > I could find the Documentation for xerces 3.1.1. This doc. describes a class > named "RevalidatingDOMParser". XML4J provides a source code for Re

Re: Duplicate element decl error

2001-02-21 Thread Graham Mann
Scott, >Try looking at line 2493, i think you find the duplicate Thanks for spotting the deliberate mistake. However, that was (a real) example of a problem I've had several times. In the same schema there is another example: Line 971, ColorPool_TBD. If you rename that to ColorPool then a sim

Re: Duplicate element decl error

2001-02-21 Thread Scott Coleman
Try looking at line 2493, i think you find the duplicate

Re: Getting started ...

2001-02-21 Thread Scott Coleman
The obvious questions first, is your classpath set correctly either via the environment variable or the -classpath option. The classpath will be searched in the order the directories or jars are placed in the classpath. Scott Martin Welch wrote: I'm an xerces newbie and a java beginner (with ext

Duplicate element decl error

2001-02-21 Thread Graham Mann
Hi, I've been using the DOMCount example to test the development of a schema which has been progressing quite well. That is until I suddenly started getting errors like the following: [Error] test4.xml:17:218: Schema error: duplicate element decl in the same scope : Disjointing. test4.xml: 4734

Getting started ...

2001-02-21 Thread Martin Welch
I'm an xerces newbie and a java beginner (with extensive C++ background) so please bear with me. I'm using Forte 2, jdk1.3 on W2K SP1. I've downloaded the xerces source and tried to compile it and I'm hitting a couple of errors. I've looked at the web site and FAQ with nothing obvious except I'm

xerces 3.1.1

2001-02-21 Thread Kimaro
Dear all I downloaded XML4J-j-bin.3.1.1 hoping to have xerces 3.1.1 in the package. I could find the Documentation for xerces 3.1.1. This doc. describes a class named "RevalidatingDOMParser". BUT this class is not in the package!. Any one who can assist me on this matter, I will be very graeful.

Re: Does Xerces support catalog files?

2001-02-21 Thread Ringo De Smet
Andy, > You can write an EntityResolver and register it with > the parser to perform catalog operations. If you want, > you can use some catalog implementations supplied with > Xerces (though not documented). Check out the following > classes: > > org.apache.xerces.readers.XMLCatalogHandler >

Re: Does Xerces support catalog files?

2001-02-21 Thread Andy Clark
Ringo De Smet wrote: > I would like to use PUBLIC identifiers in my XML files without > having to specify where the real DTD is stored. If I understand > correctly, catalog files are what I need. But does Xerces Java > support catalog files, and where can I find information on how > to define and u

Re: EntityResolver/Windows Paths -- [ WAS: Windows Paths]

2001-02-21 Thread Andy Clark
Brad O'Hearne wrote: > parser.parse(uri) method. In the EntityResolver, I do not know what the uri > to the XML file is -- I only know the uri of the dtd (via the systemId). I This is a general problem with the EntityResolver interface -- there is no way to know the base system identifier for th