Invalid CFML construct found?

Anyone know why's wrong with this? It won't compile..
Error message is: " Invalid CFML construct found "
myarray[1][1] =
myxmldoc["my-item-lists"]["single-list"]["item-in-list"][1]["is-completed"]

> Anyone know why's wrong with this? It won't compile..
Well it's TELLING you what's wrong with it:
> Error message is: " Invalid CFML construct found "
> myarray[1][1] =
>
myxmldoc["my-item-lists"]["single-list"]["item-in-list"][1]["is-completed"]
myxmldoc["my-item-lists"]["single-list"]["item-in-list"].xmlChildren[1]["is-completed"]
Adam

Similar Messages

  • XML Publisher Report - Invalid character was  found in text content

    Hi Techies,
    Version Background
    Oracle apps : 11.5.10
    Oracle 9i Database
    Oracle Reports 6i
    I created a XML output type concurrent program and attached a data definition & template to it.
    My program completed with status "Warning".
    The Error is : An invalid character was found in text content.
    Then i downloaded the XML and opened it in notepad++. I found there are 2 weird characters like this ( , )
    FYI, It is a non-Ascii character so not able to paste it in this forum text field. the characters looks like double sided arrow and a forward arrow.
    I also tried loading the XML locally from RTF Template. Again it throws me same error
    Error No: -1072896760: An invalid character was found in text content.
    Additional Information:
    Data is coming from table "gl_alloc_batches.description"
    Encoding Type: UTF-8
    Please Help me how to handle such a non-ascii characters
    Edited by: 868779 on Feb 22, 2012 10:48 PM

    Hi,
    Please find below sql which will find the special characters in column of table,
    SET serveroutput ON size 1000000
    DECLARE
    PROCEDURE gooey (v_table VARCHAR2, v_column VARCHAR2)
    IS
    TYPE t_id IS TABLE OF NUMBER;
    TYPE t_dump IS TABLE OF VARCHAR2 (20000);
    TYPE t_data IS TABLE OF VARCHAR2 (20000);
    l_id t_id;
    l_data t_data;
    l_dump t_dump;
    CURSOR a
    IS
    SELECT DISTINCT column_name
    FROM dba_tab_columns
    WHERE table_name = v_table
    AND data_type = 'VARCHAR2'
    AND column_name NOT IN ('CUSTOMER_KEY', 'ADDRESS_KEY');
    BEGIN
    FOR x IN a
    LOOP
    l_id := NULL;
    l_data := NULL;
    l_dump := NULL;
    EXECUTE IMMEDIATE 'SELECT '
    || v_column
    || ', '
    || x.column_name
    || ', '
    || 'dump('
    || x.column_name
    || ')'
    || ' FROM '
    || v_table
    || ' WHERE RTRIM((LTRIM(REPLACE(TRANSLATE('
    || x.column_name
    || ',''ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@#$%^&*()_+
    -=,!\`~{}./?:";''''[ ]'',''A''), ''A'', '''')))) IS NOT NULL'
    BULK COLLECT INTO l_id, l_data, l_dump;
    IF l_id IS NOT NULL
    THEN
    FOR k IN 1 .. l_id.COUNT
    LOOP
    DBMS_OUTPUT.put_line ( v_table
    || ' - '
    || x.column_name
    || ' - '
    || TO_CHAR (l_id (k), '999999999999')
    DBMS_OUTPUT.put_line (l_data (k));
    DBMS_OUTPUT.put_line (l_dump (k));
    DBMS_OUTPUT.put_line ('*********************');
    END LOOP;
    END IF;
    END LOOP;
    END gooey;
    BEGIN
    gooey ('GL_ALLOC_BATCHES', 'DESCRIPTION');
    END;
    Thanks,
    Amogh

  • Document is invalid.No grammar found.

    Hi
    I am getting the following error while creating Document object as follows:
    Document is invalid.No grammar found.
    Java code:
    String DEFAULT_SAX_DRIVER_CLASS = "org.apache.xerces.parsers.SAXParser";
        org.jdom.input.SAXBuilder builder = new SAXBuilder(DEFAULT_SAX_DRIVER_CLASS, true);
    Document doc = builder.build("test.xml");XML code:
    <?xml version = '1.0'?>
    <ROWSET xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="test1.xsd">First few lines XSD :
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="ROWSET">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="ROW" minOccurs="1" maxOccurs="unbounded">Both the XML and XSD are in the same folder.The wierd thing is that it is working in my local system.But it throws the above error in another system.
    Any inputs?
    Thanks

    Hi
    I am not able to validate a xml file using SAX parser.Here is the code:
    import org.xml.sax.helpers.DefaultHandler;
    import org.xml.sax.Attributes;
    import org.xml.sax.InputSource;
    import java.io.FileReader;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    public class PatientDriver
    public static void main(String[] args) {
    try{
    SAXParserFactory spf = SAXParserFactory.newInstance();
    spf.setFeature("http://apache.org/xml/features/validation/schema", true);
    spf.setFeature("http://xml.org/sax/features/validation", true);
    spf.setValidating(true);
    spf.setNamespaceAware(true);
    SAXParser parser = spf.newSAXParser();
    //SETTING THE FOLLOWING PROPERTIES RESULTS IN ERROR
    //parser.setProperty("http://java.sun.com/xml/properties/jaxp/schemaLanguage",
    //"http://www.w3.org/2001/XMLSchema");
    //parser.setProperty("http://java.sun.com/xml/properties/jaxp/schemaSource",
    //"patient.xsd") ;
    InputSource source = new InputSource(new FileReader("sms_xml_sls.xml"));
    PatientHandler handler = new PatientHandler();
    parser.parse(source,(DefaultHandler)handler);
    handler.handlePatients();
    } catch (Exception e){
    System.out.println("Error while parsing" + e.getMessage());
    xsd
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    XML
    <?xml version = '1.0'?>
    <ROWSET xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="patient.xsd">
    Any inputs?I tried using Xerces instead of JAXP but of no use.......

  • JDBC Adapter Invalid level 4' found

    Hi all,
    I have the following XML messages send to a JDBC adapter and I get an Invalid Level 4' found:
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:ATL_JDBC_SQL_MAT_BOM_IN_MT xmlns:ns0="http://atlantis.com/material.bom">
    - <Statement1>
    - <dbTableName action="UPDATE_INSERT">
      <table>SAP_MATERIAL_BOM</table>
    - <access>
      <IDOC hasQuot="YES">0000000000003670</IDOC>
      <CODE hasQuot="YES">0183654</CODE>
      <ROWMATCODE hasQuot="YES">0183685</ROWMATCODE>
      <ROWMATQTY hasQuot="YES">8.000</ROWMATQTY>
      <CH_OK hasQuot="YES">0</CH_OK>
      </access>
      </dbTableName>
    - <key>
      <CODE hasQuot="YES">0183654</CODE>
      </key>
      </Statement1>
      </ns0:ATL_JDBC_SQL_MAT_BOM_IN_MT>
    Does anybody have an idea what might by wrong? Thanks.
    ....Socrates>>

    We are using XI3.0 sp18. The communication channel (JDBC RECEIVER) has the following error when receive the above XML message:
    11/9/06 3:21:49 PM 4c54613a06b71c409b86d27d7df80ce3 Error while parsing or executing XML-SQL document: Error processing request in sax parser: Error when executing statement for table/stored proc. 'SAP_MATERIAL_BOM' (structure 'Statement1'): java.sql.SQLException: FATAL ERROR document format: invalid level 4' found (structure 'Statement1')
      11/9/06 3:21:49 PM 4c54613a06b71c409b86d27d7df80ce3 Processing started
    That's all the Info I have...

  • Invalid media data found in slideshow

    I am trying to send my slide show to iDVD via iPhoto share and I keep getting:
    INVALID MEDIA DATA FOUND IN SLIDESHOW
    All the photos in the slideshow were taken by me. I have made and shared many slideshows
    with no problems.
    All the songs are from my iTunes library etc...
    Can anybody help me please!
    Thanks

    I am from france , and on iphoto09, i think i have the same problem , as i want to export a slideshow of 350 pictures, i have the answer of "données de support présentes dans la séquence incorrectes"
    but it's worked for 20 slides ?
    jean marc

  • Disk utility invalid free block found

    I ran Disk Utility because my computer seemed slow.  DU said that I needed to restart and repair, but when I did that, DU said that the disc was fine. After re-starting, DU again said that it needed repair.  The exact message was: "Invalid free block found (it should be 48071714 instead of 47831211)  File system check exit code is 8"
    Still running pretty slow.  Don't know what the deal is. 
    Thanks!

    A disk that has been "repaired" by Disk Utility has already failed and will fail again, probably in a very short period of time.
    Back up your Mac if you have not done so already. To learn how to use Time Machine read Mac Basics: Time Machine backs up your Mac - Apple Support.
    Replace the hard disk drive, or take this as an opportunity to upgrade to a SSD.

  • ERROR: Invalid java version found: while runing Autoconfig

    Hi
    while upgrading EBS 12.1.3 Database from 11.1.0.7 to 11.2.0.2
    We got the below error on autoconfig.
    F:\app\mocppd\product\11.2.0\dbhome_1\appsutil>F:\app\mocppd\product\11.2.0\dbho
    me_1\appsutil\bin\adconfig.cmd contextfile=prod_srv-moc.xml
    Enter the APPS user password: apps
    cygwin warning:
      MS-DOS style path detected: F:\app\mocppd\product\11.2.0\dbhome_1\appsutil\bin
    \adconfig.pl
      Preferred POSIX equivalent is: /cygdrive/f/app/mocppd/product/11.2.0/dbhome_1/
    appsutil/bin/adconfig.pl
      CYGWIN environment variable option "nodosfilewarning" turns off this warning.
      Consult the user's guide for more details about POSIX paths:
        http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
    The log file for this session is located at: F:\app\mocppd\product\11.2.0\dbhome
    _1/appsutil/log/prod_srv-moc/02040321/adconfig.log
    AutoConfig is configuring the Database environment...
    AutoConfig will consider the custom templates if present.
            Using ORACLE_HOME location : F:\app\mocppd\product\11.2.0\dbhome_1
    ERROR: Invalid java version found:
            sh: F:appmocppdproduct11.2.0dbhome_1jdkjre/bin/java: No such file or dir
    ectory
    ERROR: Invalid java version found:
            sh: F:appmocppdproduct11.2.0dbhome_1jdkjre/bin/java: No such file or dir
    ectory
            Classpath                   :
    sh: - : invalid option
    Usage:  sh [GNU long option] [option] ...
            sh [GNU long option] [option] script-file ...
    GNU long options:
            --debug
            --debugger
            --dump-po-strings
            --dump-strings
            --help
            --init-file
            --login
            --noediting
            --noprofile
            --norc
            --posix
            --protected
            --rcfile
            --restricted
            --verbose
            --version
            --wordexp
    Shell options:
            -irsD or -c command or -O shopt_option          (invocation only)
            -abefhkmnptuvxBCHP or -o option
    Version Conflicts among development maintained and customized templates encounte
    red; aborting AutoConfig run.
    The logfile for this session is located at: F:\app\mocppd\product\11.2.0\dbhome_
    1/appsutil/log/prod_srv-moc/02040321/adconfig.logThanks
    Nawneet

    Hi Helios,
    I have changed the prod_srv-moc.xml script and executed the script.
    And now i got the below error.
    F:\app\mocppd\product\11.2.0\dbhome_1\appsutil>F:\app\mocppd\product\11.2.0\dbho
    me_1\appsutil\bin\adconfig.cmd contextfile=prod_srv-moc.xml
    Enter the APPS user password: apps
    cygwin warning:
    MS-DOS style path detected: F:\app\mocppd\product\11.2.0\dbhome_1\appsutil\bin
    \adconfig.pl
    Preferred POSIX equivalent is: /cygdrive/f/app/mocppd/product/11.2.0/dbhome_1/
    appsutil/bin/adconfig.pl
    CYGWIN environment variable option "nodosfilewarning" turns off this warning.
    Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
    The log file for this session is located at: F:/app/mocppd/product/11.2.0/dbhome
    _1/appsutil/log/prod_srv-moc/02040605/adconfig.log
    AutoConfig is configuring the Database environment...
    AutoConfig will consider the custom templates if present.
    Using ORACLE_HOME location : F:/app/mocppd/product/11.2.0/dbhome_1
    Classpath : :F:/app/mocppd/product/11.2.0/dbhome_1/jdb
    c/lib/ojdbc6.jar:F:/app/mocppd/product/11.2.0/dbhome_1/appsutil/java/xmlparserv2
    .jar:F:/app/mocppd/product/11.2.0/dbhome_1/appsutil/java:F:/app/mocppd/product/1
    1.2.0/dbhome_1/jlib/netcfg.jar:F:/app/mocppd/product/11.2.0/dbhome_1/jlib/ldapjc
    lnt11.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: oracle/apps/ad/tools/
    configuration/VersionConflictListGenerator
    Caused by: java.lang.ClassNotFoundException: oracle.apps.ad.tools.configuration.
    VersionConflictListGenerator
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    Could not find the main class: oracle.apps.ad.tools.configuration.VersionConflic
    tListGenerator. Program will exit.
    ERROR: Version Conflicts utility failed.
    Terminate.
    The logfile for this session is located at: F:/app/mocppd/product/11.2.0/dbhome_
    1/appsutil/log/prod_srv-moc/02040605/adconfig.log
    Thanks
    Nawneet

  • Windows Experience Index fails: An invalid character was found in text content winsat\main.cpp(1041)

    Hi
    I have been tearing my hair out over this, but found this thread which seems to be exactly what I am seeing
    (sorry for some reason I can't post links or images they have been stripped out)
    However the answer, scars me a bit and I need someone to step me through it.
    I have run SMBIOS viewer and spotted an odd looking character after the version 1 (looks like two
    small square zeros) removed it from registry but this did not solve the issue.
    ran winsat formal with admin  error. failed to load XML An invalid character was found in text content winsat\main.cpp(1041) unable to process
    xml file. winsat\main.cpp(4742) Error: cannot process assessment results cannot load xml data from string an invalid character was found in text content from interface msxm16.dll:Ixmldomdocument2
    Please help, I am tearing my hair out with this :(
    Here is my system spec, only a week old, ignore the voltages which are wrongly reported.
    Thanks
    Mike

    (Still can't post images here for some reason, can't even give you a link to see the screen shot :(
    Please verify your account in the following link
    http://social.technet.microsoft.com/Forums/en-US/947dcd6b-41c5-41c1-a39d-44a3cff60889/verify-your-account-19?forum=reportabug
    Have you tried to reset WEI as I mentioned above? What is the result?
    For HW info, we can also run msinfo32.exe to display the info.
    we can also reset BIOS to the default setting to check the issue.
    Regarding to SMBIOS, you can find detailed information in this link
    http://www.dmtf.org/standards/smbios
    NOTE
    This response contains
    a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
    Microsoft does not control these sites and
    has not tested any software or information found on these sites.
    Yolanda Zhu
    TechNet Community Support

  • 2 level schema import: cvc-complex-type.2.4.a: Invalid content was found...

    HI
    I'm writing an application that gathers xml documents into batches, sends these batches to translation, receives them from translation and unpacks them.
    My documents are ads. I have a schema (x1.xsd) describing them. This schema imports another schema (x2.xsd). None of these are controlled by me (I need a very good reason to change them).
    I have created a new schema (x.xsd) for my batches. This schma imports the ad schema (x1.xsd).
    When I validate an example ad (x1.xml) using the ad schema (x1.xsd), validation is OK. This is the same for XML Spy, oracle.xml.schemavalidator.XSDValidator and org.dom4j.io.SAXReader
    When I validate an example batch (x.xml) with the same ad data in the batch,
    XML Spy says: Unexpected element 'AD' in element 'ADS'. Expected: AD
    oracle.xml.schemavalidator.XSDValidator says: XML-24521: (Error) Element not completed: 'ADS'org.dom4j.io.SAXReader says: cvc-complex-type.2.4.a: Invalid content was found starting with element 'AD'. One of '{"x/translation":AD}' is expected.
    By changing my batch xml by removing xmlns="x/ad" from the AD tag and prefix all "x/ad"-owned tags with ad:, I can make all validators validate.
    But I don't see the reason for this, and thus have some problems telling the supplier that we need to change the schema and xml...
    Notice that I do not have the corresponding problem in the x1.xsd / x2.xsd relationship !!??
    Any suggestions will be appreciated.
    /Jornsen
    I enclose a copy of the files mentioned above:
    x.xml:
    <TRANSLATION_BATCH batchId="8" xmlns="x/translation" xmlns:ad="x/ad" xmlns:gp="x/groups"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tl="x/translation" xsi:schemaLocation="x/translation
    C:\tmp\t.xsd">
      <LANGUAGES anattr="monoLanguageXmlAd">
        <LANG LangId="3"/>
        <LANG LangId="4"/>
      </LANGUAGES>
      <ADS>
        <AD adattr="hest" xmlns="x/ad" xmlns:gp="x/groups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
          <LANGLIST>
            <LANG LangId="17"/>
          </LANGLIST>
          <ITEMLIST>
            <ITEM xmlns="x/groups" anattr="hund">
              <ITEM_INFO name="hest"/>
            </ITEM>
          </ITEMLIST>
        </AD>
      </ADS>
    </TRANSLATION_BATCH>x1.xml:
    <AD adattr="hest" xmlns="x/ad" xmlns:gp="x/groups" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="x/ad C:\tmp\t1.xsd">
      <LANGLIST>
        <LANG LangId="17"/>
      </LANGLIST>
      <ITEMLIST>
        <ITEM xmlns="x/groups" anattr="hund">
          <ITEM_INFO name="hest"/>
        </ITEM>
      </ITEMLIST>
    </AD>x.xsd:
    <xs:schema targetNamespace="x/translation" attributeFormDefault="unqualified" elementFormDefault="qualified"
    xmlns="x/translation" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tl="x/translation" xmlns:ad="x/ad">
      <xs:import namespace="x/ad" schemaLocation="t1.xsd"/>
      <xs:element name="TRANSLATION_BATCH">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="LANGUAGES">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="LANG" maxOccurs="unbounded">
                    <xs:complexType>
                      <xs:attribute name="LangId" type="xs:string" use="required"/>
                    </xs:complexType>
                  </xs:element>
                </xs:sequence>
                <xs:attribute name="anattr" type="xs:string"/>
              </xs:complexType>
            </xs:element>
            <xs:element name="ADS">
              <xs:complexType>
                <xs:sequence>
                  <xs:element name="AD" type="ad:ADType"/>
                </xs:sequence>
              </xs:complexType>
            </xs:element>
          </xs:sequence>
          <xs:attribute name="batchId" type="xs:string" use="required"/>
        </xs:complexType>
      </xs:element>
    </xs:schema>x1.xsd:
    <xs:schema targetNamespace="x/ad" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns="x/ad"
    xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ad="x/ad" xmlns:gp="x/groups">
      <xs:import namespace="x/groups" schemaLocation="t2.xsd"/>
      <xs:element name="AD" type="ad:ADType">
      </xs:element>
      <xs:complexType name="ADType">
        <xs:sequence>
          <xs:element name="LANGLIST" type="ad:LANGLISTType">
          </xs:element>
          <xs:element name="ITEMLIST" type="gp:ITEMLISTType">
          </xs:element>
        </xs:sequence>
        <xs:attribute name="adattr" type="xs:string" use="optional"/>
      </xs:complexType>
      <xs:complexType name="LANGType">
        <xs:attribute name="LangId" type="xs:int" use="required"/>
      </xs:complexType>
      <xs:complexType name="LANGLISTType">
        <xs:sequence>
          <xs:element name="LANG" type="ad:LANGType" maxOccurs="unbounded"/>
        </xs:sequence>
      </xs:complexType>
    </xs:schema>x2.xsd:
    <xs:schema xmlns="x/groups" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="x/groups"
    elementFormDefault="qualified" attributeFormDefault="unqualified">
      <xs:complexType name="ITEMLISTType">
        <xs:sequence>
          <xs:element name="ITEM" minOccurs="0" maxOccurs="unbounded">
            <xs:complexType>
              <xs:sequence>
                <xs:element name="ITEM_INFO" maxOccurs="unbounded">
                  <xs:complexType>
                    <xs:attribute name="name" type="xs:string" use="required"/>
                  </xs:complexType>
                </xs:element>
              </xs:sequence>
              <xs:attribute name="anattr" type="xs:string"/>
            </xs:complexType>
          </xs:element>
        </xs:sequence>
      </xs:complexType>
    </xs:schema>Message was edited by:
    Jornsen - formatting
    Message was edited by:
    Jornsen

    Hi Linyin,
    Please refer to: http://middlewaremagic.com/weblogic/?p=2034
    The Problem is missing element <web-resource-name> in your "web.xml" file..... which must be a Unique name of your Resource set which u want to make secure.....
    <security-constraint>
    <web-resource-collection>
    *<web-resource-name>MySecureResources</web-resource-name>*
    <description>Some Description</description>
    <url-pattern>/*</url-pattern>
    <http-method>GET</http-method>
    <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>admin</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    </login-config>
    <security-role>
    <role-name>admin</role-name>
    </security-role>
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic   (Middleware Magic Is Here)

  • Invalid content was found starting with element

    Hi,
    I am getting an error while parsing(unmarshallling) the xml using JAXB thru XSD validation.
    Here is the xsd, that I am using for the validation followed by the xml sample and exception that I am getting.
    <?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:complexType name="process_variable_type">
               <xs:sequence>
              <xs:element name="variable_name" type="xs:string"/>
              <xs:element name="label" type="xs:string"/>
              <xs:element name="value" type="xs:string"/>
              <xs:element name="previous_value" type="xs:string"/>
              <xs:element name="format" type="xs:string"/>
               </xs:sequence>
         </xs:complexType>
         <xs:complexType name="text_field_type">
           <xs:complexContent>
             <xs:extension base="process_variable_type">
             </xs:extension>
           </xs:complexContent>
         </xs:complexType>
         <xs:complexType name="part_type">
           <xs:sequence>
            <xs:choice>
              <xs:element name="textFieldElement" type="text_field_type" />
            </xs:choice>
           </xs:sequence>
           <xs:attribute name="name" type="xs:string" />
         </xs:complexType>
         <xs:element name="variable">
           <xs:complexType>
            <xs:sequence>
              <xs:element name="part" type="part_type" minOccurs="1" maxOccurs="1" />
            </xs:sequence>
           <xs:attribute name="dataIncluded" type="xs:string" />
           <xs:attribute name="hasData" type="xs:string" />
           <xs:attribute name="name" type="xs:string" />
           <xs:attribute name="version" type="xs:string" />
           </xs:complexType>
         </xs:element>
    </xs:schema>
    Sample XML:
    <variable dataIncluded="yes" hasData="true" name="V1" version="25">
       <part name="textFieldElement">
          <textFieldElement xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:abx="http://www.activebpel.org/bpel/extension" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:ext="http://www.activebpel.org/2.0/bpel/extension" xmlns:ns1="urn:ValueDisplayer" xmlns:ns2="urn:ValueProvider" xmlns:ns3="Invalid Document" xmlns:ns4="http://temp" xmlns:ns5="http://active-endpoints.com/services/order" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
             <variable_name>Variable1</variable_name>
             <label>Label2</label>
             <value>Value1</value>
             <previous_value>prevValue1</previous_value>
             <format>format1</format>
             <form_element_type>formElement1</form_element_type>
          </textFieldElement>
       </part>
    </variable>
    Error that I am getting is:
    javax.xml.bind.UnmarshalException
    - with linked exception:
    [org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'textFieldElement'. One of '{"":textFieldElement}' is expected.]
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)
         at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:476)
         at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:204)
         at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:173)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
         at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:194)
         at com.enfs.bpel.client.BpelClientUtility.unMarshal(BpelClientUtility.java:158)
         at com.enfs.bpel.client.BpelClientUtility.main(BpelClientUtility.java:140)
    Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'textFieldElement'. One of '{"":textFieldElement}' is expected.
         at com.sun.org.apache.xerces.internal.jaxp.validation.Util.toSAXParseException(Unknown Source)
         at com.sun.org.apache.xerces.internal.jaxp.validation.ErrorHandlerAdaptor.error(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorHandlerImpl.startElement(Unknown Source)
         at com.sun.xml.bind.v2.runtime.unmarshaller.ValidatingUnmarshaller.startElement(ValidatingUnmarshaller.java:67)
         at com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:117)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
         at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:200)
         ... 5 moreIf I remove the following attribute in the textFieldElement from the sample, then I am able to unmarshal it successfully.
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" But at the runtime, I cannot avoid this attribute in the XML message which I should unmarshal it.
    Need help to resolve this.
    ..Thiruppathy.R

    Hi,
    So, the error is because of the validation failure due to the xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/". And because of some data is missing in the textFieldElement, which is required by xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/".
    Pls correct me if I am wrong?
    But, as you understood, the textFieldElement has simple data. In that case, Is there any way to by pass the validation for xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/", without removing it from the XML sample? Also please note, but the validation should happen for the xsd, that I have.
    Thanks
    Thiruppathy.R

  • Wddx An invalid character was found in text content

    I've this xml file:
    <wddxPacket
    version='1.0'><header/><data><array
    length='50'><struct><var
    name='CONTENTCONTAINERID'><number>11.0</number></var><var
    name='ITEMDATE'><string>03/25/2009</string></var><var
    name='TITLE'><string>Senator's sign ...AND THE REST IS NOT
    SHOWN HERE.
    I got this error message:
    An invalid character was found in text content. Error
    processing resource 'file:///Z:/publisher/logs/pu...
    Budget Proposal</string></var><var
    name='ARTICLENUM'>&l...-indent:-2em">- <struct>
    Notice the -indent -2em. That must be some special
    characters. If I'm correct, em stands for end of medium.
    My question: how can I fix this problem? The xml file shown
    above created with wddx does not allow me to change the encoding
    scheme.

    Please refer
    http://www.w3schools.com/XML/xml_encoding.asp

  • Smartview: XML Load Error: An invalid character was found in text content.

    Hi,
    Im using hyperion 11.1.2.1 with SmartView installed with Office 2007. A lot of forms are working fine on it but we have entered data recently on a number of them and we are unable to open them in SmartView either through the icon and menu options in workspace or through the smartview panel in excel 2007. The error we are getting is "XML Load Error: An invalid character was found in text content."
    Cheers,
    Imran

    Have a look on Oracle Support - "SmartView XML Load Error: "An Invalid Character was Found in Text Content" [ID 968808.1]"
    It may be the same issue as you are experiencing.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • "XML Load error: An invalid character was found in text content" Drill Thru

    Hi,
    I am using Smart View, 2007 ms office.
    We are using EIS to have Drill Through reports.
    When I select the particular intersection and click on Hyperion --> Adhoc Analysis--> Drill Through Reports,
    Drill Through selection window is opening but when click on Launch/Execute.
    It throwing below Error
    "XML Load error: An invalid character was found in text content"
    This error is showing only some intersections...some other intersections are working fine.
    The same intersection if retrieve from ESSBASE --> Addins--> linked objects, Drill thru reports are showing fine.
    From Excel Addins everythg working fine.
    I tried in 2003 MS office from my colleague system. the same error.
    "XML Load error: An invalid character was found in text content"
    Please someone help me....!
    Regards,
    Rajendra Prasad Gella.
    Edited by: Rajendra Prasad Gella on Jun 10, 2010 4:26 AM

    This type of Issue does not happen using Excel Add-in but Smart View. We encountered it as well. I have a feeling the root cause is the ESSLANG which used to be selected during installation. If the Essbase has for instance "English Latin1" or "English US Ascii Binary" and the client does not have it, then this would occur.
    We had old SR on it because we were testin the APS 7.1.6. SR 2-603906: Excel Essbase Add-in splitting special characters such as the " ü " in. Whe we reinstalled and selected same ESSLANG as Essbase server the isue stopped.
    We did not have to chnage our code to scrub out ant special characters. !
    Jullin

  • An invalid character was found in text content. (msxml6.dll)

    while executing or saving the SSIS package we get this error...
    ===================================
    Failure saving package. (Microsoft Visual Studio)
    Program Location:
       at Microsoft.DataTransformationServices.Design.Serialization.DtrDesignerSerializer.SerializePackage(IDesignerSerializationManager manager, Package package, TextWriter textWriter)
       at Microsoft.DataTransformationServices.Design.Serialization.DtrDesignerSerializer.SerializeComponent(IDesignerSerializationManager manager, IComponent component, Object serializationStream)
       at Microsoft.DataWarehouse.Serialization.DesignerComponentSerializer.Serialize(IDesignerSerializationManager manager, Object value)
       at Microsoft.DataWarehouse.VsIntegration.Designer.Serialization.DataWarehouseDesignerLoader.Serialize()
       at Microsoft.DataWarehouse.VsIntegration.Designer.Serialization.BaseDesignerLoader.Flush(Boolean forceful)
       at Microsoft.DataWarehouse.VsIntegration.Designer.Serialization.BaseDesignerLoader.Flush()
       at Microsoft.DataWarehouse.VsIntegration.Designer.Serialization.DataWarehouseContainerManager.OnBeforeSave(UInt32 docCookie)
    ===================================
    An invalid character was found in text content.
     (msxml6.dll)
    Program Location:
       at Microsoft.SqlServer.Dts.Runtime.Package.SaveToXML(String& packageXml, IDTSEvents events)
       at Microsoft.DataTransformationServices.Design.Serialization.DtrDesignerSerializer.SerializePackage(IDesignerSerializationManager manager, Package package, TextWriter textWriter)
    ===================================
    An invalid character was found in text content.
     (msxml6.dll)
    Program Location:
       at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSPackagePersist100.SavePackageToXML(Object& pvDestination, Boolean vbReturnDOM, IDTSEvents100 pEvents)
       at Microsoft.SqlServer.Dts.Runtime.Package.SaveToXML(String& packageXml, IDTSEvents events)
    sureshk

    I suggest you apply the steps from the restitution section of this KB http://support.microsoft.com/kb/977889
    Arthur My Blog

  • An invalid character was found in text content

    Hello.
    I'm trying to obtain the output of a report in XML format but when i open it the browser (IE 7) it shows me the message "An invalid character was found in text content".
    Does anyone know how to solve this problem. I'm in XDO 5.6.3 and EBS 11.5.10.2.
    Many thanks in advance.
    Octavio

    Please refer
    http://www.w3schools.com/XML/xml_encoding.asp

Maybe you are looking for

  • Creating a function and return something from an XML file

    Hi! I'm working with timeline actionscript. I want to create a function that loads my xmlfile and returns an xmlobject with the file's content. This is what I got so far: my_btn.addEventListener(MouseEvent.CLICK, getXML("myxml.xml")); //1067: Implici

  • 10.3.183.7 | Win7-64bit | Input-Textfield

    Hi, i recently updated to 10.3.183.7 (Chrome) and have a big bug now with the input-textfields, i can't use the "@"-Symbol anymore. If i use it, the input-field gets broken and i can't type anymore in it. Try it yourself with some example tutorial pa

  • Problem with "Import"; Trying to move song into FCE

    The answer may be deceptively simple, but it eludes me. In the past I merely dragged/dropped a song from my iTunes folder into FCE to begin my project. The only files I have chosen to date were mp3 files. There was no problem encountered whatsoever.

  • I need an appointment with genius bar

    when I got to look up a internet page the window is jumping sreoun and when I shut it off there is a sort of buzzing sound

  • JTextField.setText() please help...

    i have a field in my table that is in date format. txtempdate.setText(rsmastempl.getDate("empdate")); this produce an error. how will i display my date filed in my table in a TextBox? thank you for helping. killuasoft