# Error in CAttribute.java? **Category:** [Reference Implementation: Java (archive)](https://discourse.openehr.org/c/reference-implementation-java-archive/154) **Created:** 2007-05-17 08:40 UTC **Views:** 8 **Replies:** 3 **URL:** https://discourse.openehr.org/t/error-in-cattribute-java/12397 --- ## Post #1 by @system Hi Rong, I believe there is an error in CAttribute\.java in the method public String parentNodePath\(\) and also in the method which depends on this: childNodePathBase\(\) When I ask the parentNodePath of the value of an ELEMENT, I get this \(missing bracket\) parentNodePath:/data\[at0001\]/items\[at0005\]/items\[at0007 childNodePathBase:/data\[at0001\]/items\[at0005\]/items\[at0007/value Can you please give a reply to this\. Thanks Kind Regards Bert Verhees --- ## Post #2 by @system Hi Bert, Can you provide a minimum testcase that reproduces this issue? Or the archetype that you have problem with. Thanks! Cheers, Rong --- ## Post #3 by @system Rong Chen schreef: > Hi Bert, > > Can you provide a minimum testcase that reproduces this issue? Or the archetype that you have problem with\. Thanks\! > > Cheers, > Rong Thanks, Rong, for your attention, this archetype \(attached\) has the problem, both example lines \(below\) come from this archetype\. I don't think it is hard to write a simple testcase\. I can be possible that it is my problem, because I did not yet completely move to 1\.0\.1, but on the other hand, that code in CAttribute hasn't changed since 2005\. regards Bert [details="(attachments)"] [openEHR-EHR-EVALUATION.goal.v1.adl|attachment](upload://gPoN8oJL2TBY83SrNmcoW2PerP3.adl) (3.72 KB) [/details] --- ## Post #4 by @system Hi Bert, It's caused by mismatch of path handling between the parser and the class CAttribute. The path logic in CAttribute is out-of-date and is now fixed on the Trunk. Thanks for pointing it out. Regards, Rong --- **Canonical:** https://discourse.openehr.org/t/error-in-cattribute-java/12397 **Original content:** https://discourse.openehr.org/t/error-in-cattribute-java/12397