[jboss-dev-forums] [Design of JBossXB] - Re: JBossEntityResolver and xsd:redefine resolution
kabir.khan@jboss.com
do-not-reply at jboss.com
Tue Mar 18 09:50:22 EDT 2008
Actually, I don't seem to be able to commit there?
| Error: Commit failed (details follow):
| Error: MKACTIVITY of '/repos/common/!svn/act/53551a94-a2fe-ee45-b2ab-213af84ca041': 403 Forbidden (https://svn.jboss.org)
|
Can you please apply the following patch
| Index: C:/cygwin/home/Kabir/sourcecontrol/common-trunks/common-core/src/main/java/org/jboss/util/xml/JBossEntityResolver.java
| ===================================================================
| --- C:/cygwin/home/Kabir/sourcecontrol/common-trunks/common-core/src/main/java/org/jboss/util/xml/JBossEntityResolver.java (revision 2744)
| +++ C:/cygwin/home/Kabir/sourcecontrol/common-trunks/common-core/src/main/java/org/jboss/util/xml/JBossEntityResolver.java (working copy)
| @@ -258,7 +258,9 @@
| boolean resolvePublicIdFirst = true;
| if(publicId != null && systemId != null)
| {
| - String registeredSystemId = (String) localEntities.get(publicId);
| + String registeredSystemId = null;
| + if (localEntities != null)
| + registeredSystemId = (String) localEntities.get(publicId);
| if(registeredSystemId == null)
| registeredSystemId = (String) entities.get(publicId);
|
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137418#4137418
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137418
More information about the jboss-dev-forums
mailing list