March 8, 2012 3:59:10 AM PST
Goal: How to Resolve Compilation Error for CalculationArc.ARCROLE_SUMMATION_ITEM
Fact: Interstage XWand Developer Version 10.1
Fact: Interstage XWand Application Developer Version 11.0
Fact: Interstage XWand Application Developer Version 12
Fact: XWand XBRL 2.1 Java API
Symptom: Compiling the following statement returns with error due to unrecognized class and field CalculationArc.ARCROLE_SUMMATION_ITEM:
LinkModelList linkmodellist =
element.getChildRelationLinkModels(Link.LINK_TYPE_CALCULATION,
RelationLink.FILTER_RESOLVING_AND_ORDERING, null, CalculationArc.ARCROLE_SUMMATION_ITEM);
Fix:
The compilation error is due to the xwand.jar that is not available in the build CLASSPATH.
com.fujitsu.xml.xbrl.xwand.taxonomy.CalculationArc.class is packaged into xwand.jar that can be located in the default installation directory at C:Program FilesISXWandXWand-tktoolsxbrl21lib.
Author: C.Y. Chen
Attachment: