debug step

This commit is contained in:
Christian P. MOMON 2010-02-25 02:11:01 +01:00
parent e734d5bc07
commit 724126d676
2 changed files with 14 additions and 11 deletions

View file

@ -51,7 +51,7 @@ class XidDemo
} }
catch (Exception exception) catch (Exception exception)
{ {
System.out.println("Error " + exception.getMessage()); System.out.println(exception.getMessage());
html = null; html = null;
} }
System.out.println ("datas = new Data ();"); System.out.println ("datas = new Data ();");
@ -80,7 +80,7 @@ class XidDemo
} }
catch (Exception exception) catch (Exception exception)
{ {
System.out.println("Error " + exception.getMessage()); System.out.println(exception.getMessage());
html = null; html = null;
} }
@ -115,7 +115,7 @@ class XidDemo
} }
catch (Exception exception) catch (Exception exception)
{ {
System.out.println("Error " + exception.getMessage()); System.out.println(exception.getMessage());
html = null; html = null;
} }
@ -161,7 +161,7 @@ class XidDemo
} }
catch (Exception exception) catch (Exception exception)
{ {
System.out.println("Error " + exception.getMessage()); System.out.println(exception.getMessage());
html = null; html = null;
} }
@ -244,7 +244,7 @@ class XidDemo
} }
catch (Exception exception) catch (Exception exception)
{ {
System.out.println("Error " + exception.getMessage()); System.out.println(exception.getMessage());
html = null; html = null;
} }
System.out.println (html); System.out.println (html);
@ -260,7 +260,7 @@ class XidDemo
} }
catch (Exception exception) catch (Exception exception)
{ {
System.out.println("Error " + exception.getMessage()); System.out.println(exception.getMessage());
html = null; html = null;
} }
System.out.println (html); System.out.println (html);
@ -276,7 +276,7 @@ class XidDemo
} }
catch (Exception exception) catch (Exception exception)
{ {
System.out.println("Error " + exception.getMessage()); System.out.println(exception.getMessage());
html = null; html = null;
} }
System.out.println (html); System.out.println (html);
@ -292,7 +292,7 @@ class XidDemo
} }
catch (Exception exception) catch (Exception exception)
{ {
System.out.println("Error " + exception.getMessage()); System.out.println(exception.getMessage());
html = null; html = null;
} }
System.out.println (html); System.out.println (html);

View file

@ -717,11 +717,12 @@ public class Presenter
db.setErrorHandler (errorHandler); db.setErrorHandler (errorHandler);
Schema schema = db.getSchema (); Schema schema = db.getSchema ();
System.out.println("schema=" + schema);
logger.debug ("schema=" + schema); logger.debug ("schema=" + schema);
// Parse the input file. // Parse the input file.
result = db.parse (source); result = db.parse (source);
System.out.println("ZO4");
if (errorHandler.hasError ()) if (errorHandler.hasError ())
{ {
System.out.println("ZO4a"); System.out.println("ZO4a");
@ -729,8 +730,10 @@ System.out.println("ZO4a");
} }
else else
{ {
System.out.println("ZO4b");
DomPresenter.addMetaTag (result, "generator", "XID 0.0"); DomPresenter.addMetaTag (result, "generator", "XID 0.0");
} }
System.out.println("ZO5");
} }
catch (ParserConfigurationException exception) catch (ParserConfigurationException exception)
{ {