Question
· 19 hr ago

Errors when compiling dependent classes

Hi Guys,

I'm getting  ERROR #6237: Unexpected tag in XML input: imageclickbutton  when running Build All for all existing classes, imageclickbutton  is one of custom  components we use in our application and I can actually compile imageclickbutton.cls class with no issues and also I can compile the class containing the imageclickbutton  tag with not issues but I get the errors when running the Build All not sure why?

BTW in was a part of conversion where I'm converting our legacy Ensemble 2014 to 2018 and all classes are compiling fine only classes that have those custom  components in them  

  

 

Thanks

Product version: Ensemble 2018.1
Discussion (2)2
Log in or sign up to continue

some thoughts on using custom ZEN Components that I follow that might help.

  1. In my custom component I have 
    ///  If true, then the include files generated for this component, are placed in the
    ///  common /csp/broker directory and not the local /csp/*namespace* directory.<br/>
    ///  This is intended for use with packages that are mapped so as to be visible to every namespace.<br/>
    ///  All Zen classes within the same package must have the same value for this parameter.
    ///  It is the developer's responsibility to ensure this.
    Parameter USECOMMONDIRECTORY As BOOLEAN = 1;
    and
/// XML namespace for component.
Parameter NAMESPACE = "http://www.readycomputing.com/zen";

2. In my ZEN page in 

<page xmlns="http://www.intersystems.com/zenxmlns:RC="http://www.readycomputing.com/zen"

if you are using Package Mapping with a common database for your classes I found using USECOMMONDIRECTORY neccessary.