Re: DOM L3 Events

2003-06-18 Thread Ray Grimmond
Repeat request: I am breaking some unspoken forum etiquette in regard to the timing of enhancements or future implementations. ??? I am not looking for absolute dates, but rough timeframes would really help. Anything ( even a 'not doing' until ) would be better than nothing. Ray Ray Grimmo

Re: Sample code to "introspect" schemas?

2003-06-18 Thread Bob Schloss
http://www.eclipse.org/XSD is an open-source Java library which allows your program to read, create, or alter W3C XML Schemas, and attempts to model accurately every concept found in the W3C XML Schema language. It is usable by tools that do not run in the Eclipse IDE, although it pre-reqs abo

Re: Sample code to "introspect" schemas?

2003-06-18 Thread Jeff Greif
See http://xml.apache.org/xerces2-j/faq-grammars.html#faq-5 for traversing XML Schema grammars, and the docs for the XSModel and related classes. Remember to set the parser configuration to use PSVI DOM implementation. This stuff should do the right thing for schemas that others. There is anothe

RE: Sample code to "introspect" schemas?

2003-06-18 Thread Thomas Cox
Karl, Have you gotten any answers on this? I have the same problem - my requirements are to be able to introspect (love that word choice, BTW) a collection of 30+ nested schemata and display them in a single tree, with a separate pane displaying the properties of the selected entity. BTW, c

PJava 1.2 compatibility

2003-06-18 Thread Aaron Kamienski
Hello, I'm trying to use Xerces 2.4.0 under PJava 1.2a (which is essentially JDK 1.1.8 with the Java2 security model thrown in plus or minus some other things). However, I have run into a problem where the SecuritySupport classes (in org.apache.xerces.util) assume other Java2 features based on the

RE: Get/Set Encoding value

2003-06-18 Thread Thomas Cox
This isn't pretty either, but my solution was to derive my parser directly from SAXParser and override the xmlDecl() method. (Of course, we were already doing the extension for other reasons, so it was fairly painless for us to add that feature.) - Thomas Cox > -Original Message- > Fro

RE: Get/Set Encoding value

2003-06-18 Thread Rob Outar
I was not using 2.4.. thought I was. Anyhow I can now fetch it. Thanks a lot. Thanks, Rob -Original Message- From: Rob Outar [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 18, 2003 12:24 PM To: [EMAIL PROTECTED] Subject: RE: Get/Set Encoding value Thanks for the information but I am

RE: Get/Set Encoding value

2003-06-18 Thread Rob Outar
Thanks for the information but I am a bit confused on to actually get the encoding information. Do I need to implement the Locator interface and add this method to the interface? If so, what do I return for the methods I must implement as part of the Locator interface? Or am I way off base ? :-)

Re: Get/Set Encoding value

2003-06-18 Thread Michael Glavassevich
Hi Rob, If you're using the latest version of the parser (Xerces 2.4.0), you should be able to retrieve the encoding using SAX. Have a look at: http://xml.apache.org/xerces2-j/faq-general.html#faq-8. The solution isn't particularly elegant, but SAX's Locator2 interface isn't available yet. Just t

Get/Set Encoding value

2003-06-18 Thread Rob Outar
I have to write a program that will fetch the encoding information from XML files:encoding="UTF-8"?>and verify that all encoding is set to UTF-8, my early trials using SAX has not worked, I thought it was a preprocessing instruction but I did not get the callback for my test files.  Is there