Re: XNI optimized parser config?

2002-04-02 Thread zongaro
Hello,      For what it's worth, just before the Xerces-J 2.0.0 release I ran some tests that showed a significant difference between a parse with the schema validator in the pipeline and one without it in the pipeline, even when there was no schema grammar to validate.      The results I saw we

RE: Schema inheritance??

2002-04-02 Thread ug7k
Hallo, John, Eric, thanks all for your answers. Now i uses to include basic type definition and uses to extend some others. It works, although it is not perfect as "inherited schemas". I found that some other description languages, such as RDF, could support such special features. thanks again

RE: Schema inheritance??

2002-04-02 Thread Anderson, John
Title: RE: Schema inheritance?? Point taken. is the only one that comes close. and "give" you all the definitions from the other schema which give you resue, rather than inheritance. Liberal use of abstract types and elements and subsitution groups in the including schema give some level

HTML Parser Update Available

2002-04-02 Thread Andy Clark
Since the topic of parsing HTML has come up again recently, I posted a new version of the NekoHTML parser for Xerces2 to my website. This version fixes a few bugs and adds some convenient DOM and SAX parser classes so it's a little easier to use directly. If anyone's interested, it's located a

RE: How to find out the version of Xerces programmatically?

2002-04-02 Thread Thomas Börkel
Answering my own question: org.apache.xerces.impl.Version > -Original Message- > From: Thomas Börkel > Sent: Dienstag, 2. April 2002 10:05 > To: Xerces Mailinglist > Subject: How to find out the version of Xerces programmatically? > > > HI! > > How can I find out the version of Xerces

How to find out the version of Xerces programmatically?

2002-04-02 Thread Thomas Börkel
HI! How can I find out the version of Xerces that my program uses? Is there some kind of main class with a version string? Thanks! Regards, Thomas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

RE: SAX - Forcing DTD validation?

2002-04-02 Thread andrew . duan
I don't get it. setSystemId() actually change your input file name. Not DTD file name. How exactly you did it? Andrew Duan Escalate, Inc. -Original Message- From: Thornton, Marc [mailto:[EMAIL PROTECTED] Sent: Monday, April 01, 2002 11:40 AM To: '[EMAIL PROTECTED]' Subject: RE: SAX - Fo

Re: Error parsing HTML with Sax

2002-04-02 Thread Andy Clark
Jose Emanuel Palmeiro wrote: > I'm parsing an html file with sax, and an error is thrown when an > entity   is found. The error thrown is "The entity 'nbsp' was > referenced, but not declared". How can i extract this expresssion > (  or other with &) without an error thrown. XML parsers can *not*

Re: UTF-16 not supported?

2002-04-02 Thread Andy Clark
Eric Hodges wrote: > That's odd, since the document can be parsed if I remove the encoding > directive and the single Unicode character I added to test it. Any ideas for > finding the error in the document that only shows up when I try to use UTF-16 > encoding? My guess would be pilot error. Some

Re: SAX - Forcing DTD validation?

2002-04-02 Thread Andy Clark
"Thornton, Marc" wrote: > Any caveats anyone is aware of in using this solution? I know that when I > already had a DTD declaration in my XML, I received an error based on the > format of the header (either DOCTYPE or ?xml version info) when I used this > approach. What you really want to do you