xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z...@apache.org
Subject cvs commit: xml-xmlbeans/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool StreamInstanceValidator.java
Date Tue, 30 Mar 2004 00:09:49 GMT
zieg        2004/03/29 16:09:49

  Modified:    v2/bin   svalidate
               v2/src/xmlcomp/org/apache/xmlbeans/impl/tool
                        StreamInstanceValidator.java
  Log:
  add temporary debugging
  
  Revision  Changes    Path
  1.3       +1 -1      xml-xmlbeans/v2/bin/svalidate
  
  Index: svalidate
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/bin/svalidate,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- svalidate	29 Mar 2004 19:11:52 -0000	1.2
  +++ svalidate	30 Mar 2004 00:09:49 -0000	1.3
  @@ -4,7 +4,7 @@
   #
   # Validates an instance against a schema.
   
  -CP=$CP:$XMLBEANS_HOME/build/ar/xbean.jar:$XMLBEANS_HOME/build/lib/jsr173_api.jar:$XMLBEANS_HOME/build/lib/jsr173_ri.jar
  +CP=$XMLBEANS_HOME/build/ar/xbean.jar:$XMLBEANS_HOME/build/lib/jsr173_api.jar:$XMLBEANS_HOME/build/lib/jsr173_ri.jar
   
   case "`uname`" in
       CYGWIN*)
  
  
  
  1.2       +6 -0      xml-xmlbeans/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/StreamInstanceValidator.java
  
  Index: StreamInstanceValidator.java
  ===================================================================
  RCS file: /home/cvs/xml-xmlbeans/v2/src/xmlcomp/org/apache/xmlbeans/impl/tool/StreamInstanceValidator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- StreamInstanceValidator.java	27 Mar 2004 00:22:55 -0000	1.1
  +++ StreamInstanceValidator.java	30 Mar 2004 00:09:49 -0000	1.2
  @@ -126,6 +126,12 @@
                   final FileInputStream fis = new FileInputStream(file);
                   final XMLStreamReader rdr =
                       XML_INPUT_FACTORY.createXMLStreamReader(path, fis);
  +
  +                //advance to first start element.
  +//                while(!rdr.isStartElement()) {
  +//                    rdr.next();
  +//                }
  +
                   vsr.init(rdr, null, sLoader, options, errors);
                   while (vsr.hasNext()) {
                       vsr.next();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xmlbeans-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-cvs-help@xml.apache.org


Mime
View raw message