- From: Jean-Guilhem Rouel via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 18 Apr 2008 12:35:24 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/org/w3c/unicorn/contract
In directory hutz:/tmp/cvs-serv25229/org/w3c/unicorn/contract
Modified Files:
Observer.java WADLUnmarshallerXPath.java
Log Message:
fixed a bug preventing the completion of unicorn initialization + misc
Index: Observer.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/contract/Observer.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Observer.java 20 Feb 2008 15:21:58 -0000 1.3
+++ Observer.java 18 Apr 2008 12:35:21 -0000 1.4
@@ -23,7 +23,7 @@
/**
* Use to log any information during use of this class.
*/
- private static final Log logger = LogFactory.getLog("org.w3c.unicorn.contract");
+ private static final Log logger = LogFactory.getLog(Observer.class);
private String sID;
Index: WADLUnmarshallerXPath.java
===================================================================
RCS file: /sources/public/2006/unicorn/org/w3c/unicorn/contract/WADLUnmarshallerXPath.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- WADLUnmarshallerXPath.java 20 Feb 2008 15:19:58 -0000 1.3
+++ WADLUnmarshallerXPath.java 18 Apr 2008 12:35:22 -0000 1.4
@@ -40,7 +40,7 @@
*/
public class WADLUnmarshallerXPath implements WADLUnmarshaller {
- private static final Log logger = LogFactory.getLog("org.w3c.unicorn.contract");
+ private static final Log logger = LogFactory.getLog(WADLUnmarshaller.class);
private static NamespaceContext aNamespaceContext;
@@ -80,7 +80,6 @@
this.aDocumentBuilderFactory = DocumentBuilderFactory.newInstance();
this.aDocumentBuilder = this.aDocumentBuilderFactory.newDocumentBuilder();
this.aXPath = XPathFactory.newInstance().newXPath();
-
this.aXPath.setNamespaceContext(WADLUnmarshallerXPath.aNamespaceContext);
}
@@ -90,6 +89,7 @@
WADLUnmarshallerXPath.logger.debug("URL : " + aURL + ".");
}
this.aDocument = this.aDocumentBuilder.parse(aURL.openStream());
+
}
Received on Friday, 18 April 2008 12:36:03 UTC