[jdom-interest] performance on tonights CVS

Elliotte Rusty Harold elharo at metalab.unc.edu
Fri Mar 15 05:23:33 PST 2002


>I've been brainstorming with Brad about how to work around this so
>there's no verification when using a parser.  Sadly with the package
>breakout it's not easy.  It wasn't easy a year ago when we first faced
>this.
>

Would it be possible to make a package protected non-verifying 
subclass of Text in org.jdom.input that could be used by SAXBuilder, 
etc? To everything outside the org.jdom.input package this would just 
be a Text object. Is it possible to subclass a public class with a 
non-public class? Even if it has to be public, such a class still 
might make sense.

Also, keep in mind that not all parsers make all the checks they're 
supposed to. For instance, AElfred will not catch some illegal 
characters in names.
-- 

+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo at metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|             http://www.cafeconleche.org/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.cafeconleche.org/    |
+----------------------------------+---------------------------------+



More information about the jdom-interest mailing list