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

View file

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