projects
/
lgpl
/
argeo-commons.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ee499d
)
Fix get xml text.
author
Mathieu Baudier <mbaudier@argeo.org>
Fri, 6 Nov 2020 09:33:16 +0000
(10:33 +0100)
committer
Mathieu Baudier <mbaudier@argeo.org>
Fri, 6 Nov 2020 09:33:16 +0000
(10:33 +0100)
org.argeo.jcr/src/org/argeo/jcr/JcrxApi.java
patch
|
blob
|
history
diff --git
a/org.argeo.jcr/src/org/argeo/jcr/JcrxApi.java
b/org.argeo.jcr/src/org/argeo/jcr/JcrxApi.java
index e35495da5a22d875a711aa423d9c2baa944d51fd..64f22b6034a5c59750bc787837e20abe28758d27 100644
(file)
--- a/
org.argeo.jcr/src/org/argeo/jcr/JcrxApi.java
+++ b/
org.argeo.jcr/src/org/argeo/jcr/JcrxApi.java
@@
-37,7
+37,7
@@
public class JcrxApi {
if (!node.hasNode(name))
return null;
Node child = node.getNode(name);
- if (child.hasNode(Jcr.JCR_XMLTEXT))
+ if (
!
child.hasNode(Jcr.JCR_XMLTEXT))
return null;
Node xmlText = child.getNode(Jcr.JCR_XMLTEXT);
if (!xmlText.hasProperty(Jcr.JCR_XMLCHARACTERS))