[
http://jira.jboss.com/jira/browse/JBXB-137?page=all ]
Alexey Loubyansky reopened JBXB-137:
------------------------------------
There is another one
--- src/main/java/org/jboss/xb/binding/sunday/unmarshalling/DefaultSchemaResolver.java
(revision 2754)
+++ src/main/java/org/jboss/xb/binding/sunday/unmarshalling/DefaultSchemaResolver.java
(working copy)
@@ -444,14 +444,18 @@
{
is = resolver.resolveEntity(nsURI, schemaLocation);
if (trace)
- log.trace("Resolved schema using namespace as publicId and
schemaLocation as systemId");
+ {
+ String msg = (is == null ? "Couldn't resolve" :
"Resolved") +
+ " schema using namespace as publicId and schemaLocation as
systemId";
+ log.trace(msg);
+ }
DefaultSchemaResolver is lieing in TRACE about finding the schema
-----------------------------------------------------------------
Key: JBXB-137
URL:
http://jira.jboss.com/jira/browse/JBXB-137
Project: JBoss XML Binding (JBossXB)
Issue Type: Bug
Affects Versions: JBossXB-2.0.0.CR7
Reporter: Alexey Loubyansky
Assigned To: Alexey Loubyansky
Fix For: JBossXB-2.0.0.CR8
The code below logs that the schema is found even if the return input source is null.
// Parse the schema
InputSource is = getInputSource(nsURI, baseURI, schemaLocation);
if( trace )
{
log.trace("found schema InputSource, nsURI="+nsURI
+", baseURI="+baseURI
+", schemaLocation="+schemaLocation);
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira