Four Stars

Push components to palette failed for these invalid XML files. tGSpreadsheetInput_java.xml please help

 

Screenshot from 2017-06-10 22-47-15.png

 

  • Talend Integration Cloud
2 REPLIES
Four Stars

Re: Push components to palette failed for these invalid XML files. tGSpreadsheetInput_java.xml please help

it's showing error in below xml line 16 as (There is an error on line 16: cvc-complex-type.2.4.a: invalid content was found starting with element 'DOCUMENTATION'. one of '{FAMILIES}' is expected.)

 

<COMPONENT>
  <HEADER
    PLATEFORM="ALL"
    SERIAL=""
    VERSION="0.1"
    STATUS="ALPHA"
    
    COMPATIBILITY="ALL"
    AUTHOR="ThomasFriebel"
    RELEASE_DATE="20090217A"
    STARTABLE="true"
  >
    <SIGNATURE/>
  </HEADER>

  <DOCUMENTATION>
    <URL/>
  </DOCUMENTATION>

  <CONNECTORS>
    <CONNECTOR CTYPE="FLOW" MAX_INPUT="0" MAX_OUTPUT="1"/>
    <CONNECTOR CTYPE="ITERATE" MAX_OUTPUT="1" MAX_INPUT="1"/>
    <CONNECTOR CTYPE="SUBJOB_OK" MAX_INPUT="1"/>
    <CONNECTOR CTYPE="SUBJOB_ERROR" MAX_INPUT="1"/>
    <CONNECTOR CTYPE="COMPONENT_OK"/>
    <CONNECTOR CTYPE="COMPONENT_ERROR"/>
    <CONNECTOR CTYPE="RUN_IF"/>   
  </CONNECTORS>

  <PARAMETERS>
    <PARAMETER
        NAME="SCHEMA"
        FIELD="SCHEMA_TYPE"
        REQUIRED="true"
        NUM_ROW="1"
    />
    <PARAMETER
      NAME="USER"
      FIELD="TEXT"
      NUM_ROW="10"
      REQUIRED="true"
    >
      <DEFAULT>""</DEFAULT>
    </PARAMETER>
 
    <PARAMETER
      NAME="PASSWORD"
      FIELD="TEXT"
      NUM_ROW="20"
      REQUIRED="true"
    >
      <DEFAULT>""</DEFAULT>
    </PARAMETER>

    <PARAMETER
      NAME="USEKEY"
      FIELD="CHECK"
      NUM_ROW="25"
      REQUIRED="false"
    >
      <DEFAULT>true</DEFAULT>
    </PARAMETER>     

    <PARAMETER
      NAME="SPREADSHEET"
      FIELD="TEXT"
      NUM_ROW="30"
      REQUIRED="true"
    >
      <DEFAULT>""</DEFAULT>
    </PARAMETER>     
    <PARAMETER
      NAME="WORKSHEET"
      FIELD="TEXT"
      NUM_ROW="40"
      REQUIRED="false"
    >
      <DEFAULT>""</DEFAULT>
    </PARAMETER>     
    </PARAMETERS>

  <CODEGENERATION>
        <IMPORTS>
            <IMPORT NAME="gclientmeta" MODULE="gdata-client-meta-1.0.jar" REQUIRED="true" />
            <IMPORT NAME="gcore" MODULE="gdata-core-1.0.jar" REQUIRED="true" />
            <IMPORT NAME="gclient" MODULE="gdata-client-1.0.jar" REQUIRED="true" />
            <IMPORT NAME="gspread" MODULE="gdata-spreadsheet-2.0.jar" REQUIRED="true" />
            <IMPORT NAME="gspreadmeta" MODULE="gdata-spreadsheet-meta-2.0.jar" REQUIRED="true" />
        </IMPORTS>
  </CODEGENERATION>

  <RETURNS>
    <RETURN NAME="NB_LINE" TYPE="INTEGER" AVAILABILITY="AFTER"/>
  </RETURNS>

</COMPONENT>

Moderator

Re: Push components to palette failed for these invalid XML files. tGSpreadsheetInput_java.xml please help

Hello,

Do you want to install a custom component into studio?

Have you already checked online document about:TalendHelpCenter:Installing a custom component?

Best regards

Sabrina