mrglavas    2005/05/02 15:07:08

  Modified:    java/samples/dom ASBuilder.java
               java/samples/xs QueryXS.java
  Log:
  Updating samples so that they compile with DOM Level 3.
  
  Revision  Changes    Path
  1.15      +5 -5      xml-xerces/java/samples/dom/ASBuilder.java
  
  Index: ASBuilder.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/samples/dom/ASBuilder.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ASBuilder.java    24 Feb 2004 23:41:05 -0000      1.14
  +++ ASBuilder.java    2 May 2005 22:07:08 -0000       1.15
  @@ -1,5 +1,5 @@
   /*
  - * Copyright 1999-2002,2004 The Apache Software Foundation.
  + * Copyright 1999-2002,2004,2005 The Apache Software Foundation.
    * 
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
  @@ -16,9 +16,9 @@
   
   package dom;
   
  -import org.apache.xerces.dom3.DOMConfiguration;
  -import org.apache.xerces.dom3.DOMError;
  -import org.apache.xerces.dom3.DOMErrorHandler;
  +import org.w3c.dom.DOMConfiguration;
  +import org.w3c.dom.DOMError;
  +import org.w3c.dom.DOMErrorHandler;
   
   import org.xml.sax.SAXException;
   import org.xml.sax.SAXParseException;
  
  
  
  1.6       +6 -6      xml-xerces/java/samples/xs/QueryXS.java
  
  Index: QueryXS.java
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/samples/xs/QueryXS.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- QueryXS.java      24 Feb 2004 23:41:06 -0000      1.5
  +++ QueryXS.java      2 May 2005 22:07:08 -0000       1.6
  @@ -1,5 +1,5 @@
   /*
  - * Copyright 2003,2004 The Apache Software Foundation.
  + * Copyright 2003-2005 The Apache Software Foundation.
    * 
    * Licensed under the Apache License, Version 2.0 (the "License");
    * you may not use this file except in compliance with the License.
  @@ -16,16 +16,16 @@
   
   package xs;
   
  -import org.apache.xerces.dom3.DOMConfiguration;
  -import org.apache.xerces.dom3.DOMError;
  -import org.apache.xerces.dom3.DOMErrorHandler;
  -import org.apache.xerces.dom3.bootstrap.DOMImplementationRegistry;
   import org.apache.xerces.xs.XSConstants;
   import org.apache.xerces.xs.XSImplementation;
   import org.apache.xerces.xs.XSLoader;
   import org.apache.xerces.xs.XSModel;
   import org.apache.xerces.xs.XSNamedMap;
   import org.apache.xerces.xs.XSObject;
  +import org.w3c.dom.DOMConfiguration;
  +import org.w3c.dom.DOMError;
  +import org.w3c.dom.DOMErrorHandler;
  +import org.w3c.dom.bootstrap.DOMImplementationRegistry;
   import org.w3c.dom.ls.LSParser;
   
   /**
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to