Yup, a bunch of the tests were from pre-JAXP 1.1 final days; and some were
just written like that cause I hadn't realized how the JAXP stuff should
work.  Where possible, we should try to create samples that layer on top of
JAXP and don't delve down into xalan or xsltc specifics (unless the sample
is specifically about the inner workings).

Also the ExamplesTest is probably a bad example, due to it's history - it
tends to be a little messy.  Sorry!

- Shane

---- "G. Todd Miller - XML Tech Ctr - Development" <[EMAIL PROTECTED]>
----
Thanks Scott for the tip, I will look into using SAXParserFactory- the
reason I was using the XMLReaderFactory.createXMLReader() is because
I was using the qetest suite as examples of how to use XMLFilters, in
the test suite there are numerous occurrences of XMLReaderFactory as you
can see in the list below:

tigerfish% findstr -s "XMLReaderFactory.createXMLReader()"
working...
          if( reader==null ) reader = XMLReaderFactory.createXMLReader();
        if( reader==null ) reader = XMLReaderFactory.createXMLReader();
          if( reader==null ) reader = XMLReaderFactory.createXMLReader();
          if( reader==null ) reader= XMLReaderFactory.createXMLReader();
         was found in file ./trax/ExamplesTest.java.

Reply via email to