Hi all,
 
Just joined this evening, and downloaded xercesJ. While going through FAQ to learn about xercesJ by writing some sample code, I found this typo under:
 
 

The second way to instantiate a parser class is to explicitly instantiate the parser class, as shown in this example, which is creating a DOM Parser. Use this way when you know exactly which parser configuration you need, and you are sure that you will not need to switch configurations.

                
import org.apache.xerces.parsers.DOMParser;
import org.w3c.com.Document;
import org.xml.sax.SAXException;
import java.io.IOException;
org.w3c.com.Document shall be changed to org.w3c.dom.Document
 
By the way, I was able to compile everything including the sample code under JBuilder 3. The 2 UI based examples looks really good, but I guess I need a week or so to really appreciate what is behind those screens.
 
Thanks for all the good work so far.
 
best regards,
-Shaoping Zhou

Reply via email to