Check Element Name

Hello,<br /><br />Is is possible to check the XML Element name exists or not from XML Structure through JavaScript. For example I want to check <flot> element and if that is available execute other code otherwise ignore the next statement.

hi Ari,
The table you recommend seems to only work for Report to Report link, but not for query element, is there any other table that we can find which InfoObj. is used for this long technical name in query?
Thanks and we have given you rewards points.

Similar Messages

  • Simple Transformation with very long XML element names

    I am trying to write a program to deserialize XML documents using the Simple Transformation technique.  There are many optional elements in the XML document, so I need to have conditional statements statements to avoid trying to process elements that are not in the document.  The XML document, however, has several Element Names that are greater than 30 characters in length.  The Simple Transformation technique seems to require ABAP data dictionary structures that mirror the schema of the XML document.  But one cannot create structure component names that are greater than 30 characters in length.  We don't have any control over the XML schema as the XML documents come from the US government.  The ST fragment below shows the statement that I want to write, but since the ABAP Structure PlasticCardInformationGroup cannot have a component AuthorizationResponseInformation, the ST syntax checker yields an "Illegal Reference ADDITIONALPLASTICCARDINFORMATION" error message.
    Does anyone know a way to avoid this error?
    <tt:d-cond check="exist(TRS_TradingPartner_Agreement.TRS_FinancialTransaction.PlasticCardInformationGroup.AdditionalPlasticCardInformation)">
    <ns2:AdditionalPlasticCardInformation>
    <tt:attribute name="CardNetworkType" value-ref="TRS_TRADINGPARTNER_AGREEMENT.TRS_FINANCIALTRANSACTION.PLASTICCARDINFORMATIONGROUP.ADDITIONALPLASTICCARDINFORMATI.CARDNETWORKTYPE"/>
    <tt:attribute name="DraftLocatorNumber" value-ref="TRS_TRADINGPARTNER_AGREEMENT.TRS_FINANCIALTRANSACTION.PLASTICCARDINFORMATIONGROUP.ADDITIONALPLASTICCARDINFORMATI.DRAFTLOCATORNUMBER"/>
    </ns2:AdditionalPlasticCardInformation>

    could anyone help me?

  • Oracle DB: How to parse XML where element names are non-standard ?

    I'm in the unfortunate situation that I have illegal XML that I would like Oracle to parse. By 'illegal' in my case is that there are element names that start with an illegal character, such as a digit. Apart from this the XML is syntactically valid.
    Here is an example of the XML I have stored as a column in the database:
    <schedule>
        <1stweek>
        </1stweek>
        <2ndweek>
        </2ndweek>
    </schedule>Right now I'm doing text search-and-replace on the XML text before I let Oracle parse it, for example replacing '<1stweek>' with '<x1stweek>' and so on. Needless to say this is very slow.
    My question is if there is a way to tell the XML parser in the Oracle DB (I'm using version 10.2) to be a bit more forgiving ? ... so that it will accept element names that start with e.g. a digit ? I know that such an option exist in some XML parsers but what about Oracle's and if so how to set the option?
    And before you ask I'll answer myself: No, I'm not the one who created the non-standard XML. It is from a third-party application which I cannot change myself and cannot get the vendor to change either.
    Thank you.

    if you cast your clob to an xmltype then you can search and extract values based on tags.
    Heres an example where the table is a clob and value is cast and I'm looking for an existing attribute_name.
    Check out the Oracle XML developers Guide
    select u.*
    FROM preload_xml
    , XMLTable(
    '/ApplicationProfile/ScriptFragment' PASSING xmltype(xml)
    COLUMNS name varchar2(50 char) PATH '/ScriptFragment/@Name'
    ) u

  • Generic WSDL element name

    Hi Gurus,
    For normal web services integration what kind of WSDL file should we use? custom or generic?
    If we using generic how to check the element name or the display name?
    Please advice.
    Thanks in advance.

    Hi, Would suggest custom, unless you like to build something that is generic which can work across multiple instances of CRMOD or goes across all fields / objects etc. Otherwise it may not worth the effort of managing the integration tags mapping related activities
    -- Venky CRMIT

  • Validate element name

    Hi all,
    I'd like to add a new Validation Rule to validate the Element name that created by user.
    At the moment, Sirius accepts all name from user, but I want to set some Validation Rule for it, such as: no space, no special characters as brackets, dollar, etc.
    Could anyone send me the guide or example for the Sirius Validation rules?
    Thanks and BRs,
    Tuan Hoang

    Hello,
    Well I do not know how is made your metamodel, but if you do not have a
    map/cache of the element to have a unique name, you will have to browse
    your semantic model to find these elements and validate that there are
    no duplicate name. Depending on your metamodel, this can be easier to be
    done as a java service.
    Regards,
    Steve
    Le 26/06/2015 12:30, Tuan Hoang Anh a écrit :
    > Steve Monnier wrote on Fri, 26 June 2015 08:28
    >> Hello,
    >>
    >> You should use the acceleo operation "matches" [1] that validates if a
    >> string matches a regular expression pattern (here name with no space,
    >> no special characters as brackets, dollar, etc).
    >>
    >> Regards,
    >> Steve Monnier
    >>
    >> [1]
    >> https://wiki.eclipse.org/Acceleo/Acceleo_Operations_Reference#matches_.28String_regex.29_:_Boolean
    >>
    >>
    >> Le 26/06/2015 08:57, Tuan Hoang Anh a écrit :
    >> > Steve Monnier wrote on Tue, 23 June 2015 09:14
    >> >> Hello,
    >> >>
    >> >> You can find a section about Sirius Validation rules [1] on the online
    >> >> documentation.
    >> >>
    >> >> Regards,
    >> >> Steve
    >> >>
    >> >> [1]
    >> >>
    >> https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#validation
    >>
    >> >>
    >> >>
    >> >> Le 23/06/2015 11:06, Tuan Hoang Anh a écrit :
    >> >> > Hi all,
    >> >> >
    >> >> > I'd like to add a new Validation Rule to validate the Element
    >> name that
    >> >> > created by user.
    >> >> > At the moment, Sirius accepts all name from user, but I want to set
    >> >> some
    >> >> > Validation Rule for it, such as: no space, no special characters as
    >> >> > brackets, dollar, etc.
    >> >> >
    >> >> > Could anyone send me the guide or example for the Sirius Validation
    >> >> rules?
    >> >> >
    >> >> > Thanks and BRs,
    >> >> > Tuan Hoang
    >> >>
    >> >>
    >> >> --
    >> >> Steve Monnier - Obeo
    >> >>
    >> >> Need professional services for Sirius?
    >> >> http://www.obeodesigner.com/sirius
    >> >
    >> >
    >> > Hi Steve,
    >> >
    >> > Thank you for your instruction.
    >> > I read the Sirius Validation rule, but I'm wondering about the Audit
    >> > Expression.
    >> > For example, I created a new Semantic Validation Rule, Level Error, and
    >> > the Target Class is "uml.NamedElement".
    >> >
    >> > Could you please tell me which Audit Expression I have to write to have
    >> > the Validation Rule: check name with no space, no special characters as
    >> > brackets, dollar, etc?
    >> >
    >> > Thanks and BRs,
    >> > Tuan Hoang
    >>
    >>
    >> --
    >> Steve Monnier - Obeo
    >>
    >> Need professional services for Sirius?
    >> http://www.obeodesigner.com/sirius
    >
    > Hi Steve,
    >
    > Thank you so much for your support.
    > I could validate the name as my need follow your instruction.
    > But now, I want to validate the unique of element name. Each element
    > must have an unique name. There are no two-elements which have the same
    > name.
    >
    > Do you have any suggestions for me?
    >
    > Thanks and BRs,
    > Tuan Hoang
    Steve Monnier - Obeo
    Need professional services for Sirius?
    http://www.obeodesigner.com/sirius

  • Check unique names only in the provided scope

    Hello
    I have my customized scope provider that is working fine. I added the check :"composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator"" in my validation fragment to check if the names are unique.
    I noticed that it checks that the names are unique in all my file and not in the provided scope!
    Any help how can I start looking into this or if there is anything I need to customize ?
    Thanks in advance.

    ZIntegrator,
    You can try following custom xslt
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt"
    exclude-result-prefixes="msxsl">
    <xsl:output method="xml" indent="yes" omit-xml-declaration="yes"/>
    <xsl:key name="country" match="//Country/@Name" use="." />
    <xsl:template match="/">
    <xsl:element name="Category">
    <xsl:copy-of select="//Category/@*" />
    <xsl:apply-templates select="Category" />
    <xsl:apply-templates select="//SubCat" mode="CopyRest" />
    </xsl:element>
    </xsl:template>
    <xsl:template match="Category">
    <xsl:for-each select="SubCat/Countries/Country/@Name[generate-id()= generate-id(key('country',.)[1])]">
    <xsl:element name="Country">
    <xsl:value-of select="."/>
    </xsl:element>
    </xsl:for-each>
    </xsl:template>
    <xsl:template match="@* | node()" mode="CopyRest">
    <xsl:copy>
    <xsl:apply-templates select="@* | node()" mode="CopyRest"/>
    </xsl:copy>
    </xsl:template>
    </xsl:stylesheet>
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

  • Unexpected element name: expected error while invoking external web service

    Hi,
    In JDeveloper when I invoke external web service call, I am getting following exception
    "unexpected element name: expected=..."
    But the same application works fine in .NET. Can someone help me as to why I am getting the exception only in JDeveloper and how to fix this exception.
    Thanks.

    Hi,
    Without more information, it will be hard to help, and tell you what could be teh issue.
    Usually, this kind of error occurs when the payload and the WSDL schema are out of sync, for example if the order of the element on the wire do not match the order in a sequence declaration, you may get this error.
    In such case, .NET handle the XML as if it was a 'all' -- no specific order -- and deserialize the message properly.
    Hope this helps,
    -eric

  • Element name too long when using ROWTYPE

    I've come across an issue with xml element names longer than 30 characters. Seems it has something to do with ROWTYPE. Creation of this function is successful:
    <pre>
    CREATE OR REPLACE FUNCTION test_fnc
    RETURN XMLTYPE
    AS
    var_return XMLTYPE;
    l_dummy DUAL.dummy%TYPE;
    BEGIN
    SELECT dummy INTO l_dummy FROM DUAL;
    SELECT XMLCONCAT(XMLELEMENT (
    "TEST",
    XMLFOREST (
    l_dummy "THIS_IS_OVER_30_CHARACTERS_LONG"
    data_set
    INTO var_return
    FROM DUAL;
    RETURN var_return;
    END test_fnc;
    </pre>
    However, specifying the variable as ROWTYPE gives ORA-00972 error (unless I shorten the element name...):
    <pre>
    CREATE OR REPLACE FUNCTION test_fnc
    RETURN XMLTYPE
    AS
    var_return XMLTYPE;
    l_dummy DUAL%ROWTYPE;
    BEGIN
    SELECT dummy INTO l_dummy FROM DUAL;
    SELECT XMLCONCAT(XMLELEMENT (
    "TEST",
    XMLFOREST (
    l_dummy.dummy "THIS_IS_OVER_30_CHARACTERS_LONG"
    data_set
    INTO var_return
    FROM DUAL;
    RETURN var_return;
    END test_fnc;
    </pre>
    Has anyone come across this before, or have any ideas for a solution? I could specify all my variables as TYPE but as there are many within the tables it would be easier to use ROWTYPE.
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    Thanks.

    it works if you add "AS" after l_dummy.dummy
    SQL> CREATE OR REPLACE FUNCTION test_fnc
      2     RETURN XMLTYPE
      3  AS
      4     var_return   XMLTYPE;
      5     l_dummy      DUAL%ROWTYPE;
      6  BEGIN
      7     SELECT   dummy INTO l_dummy FROM DUAL;
      8
      9     SELECT   XMLCONCAT(XMLELEMENT (
    10                           "TEST",
    11                           XMLFOREST (
    12                              l_dummy.dummy AS "THIS_IS_OVER_30_CHARACTERS_LONG"
    13                           )
    14                        ))
    15                 data_set
    16       INTO   var_return
    17       FROM   DUAL;
    18  RETURN var_return;
    19  END test_fnc;
    20  /
    Function created.Ants

  • XML element names required in lower case

    Hi,
    I am on release 4.6C
    I create an XML file from internal table using FM SDIXML_DATA_TO_DOM and SDIXML_DOM_TO_XML.
    The internal table is defined such that the  fieldnames of internal table are same as element names in XML file.
    The XML file gets created properly, but the element names appear in upper case.
    The requirement is to have it in lower case.
    Does anybody have any idea about how to control the case here?

    Hi Sudhir
    you can convert field names manually using translate command to convert it to lower case.
    hope this helps.

  • Specifying Case-Insensitive Element Names in XML Schema

    Hope someone knows this!
    Is it possible to define an an XML Schema Definition so that Element names in the target XML File can be case insensitive.
    At the moment my Parser throws an error if the element names in the XML file do not have the exact same case as the definition in the XML schema.
    E.g
    In Schema i have:
    <xsd:element name="HOSTINVENTORYLINE" type="HostInventoryLineType" maxOccurs="unbounded" minOccurs="0"/>
    but in xml file i have
    <HostInventoryLine field=""/>
    or
    <hostinventoryline field=""/>
    Does anyone know anyway to get around this, so that the parser accepts the HostInventoryLine element in the xml as an instance of the HOSTINVENTORYLINE element defined in the schema.
    Thanks in Advance
    JJ
    Message was edited by:
    [email protected]

    You could use substitution groups to handle this. You would need an entry in the schema for each valid capitalization. This won't scale well if you want to be completely case insensitive, but if you only support lower case, upper case, and camel case it should do the trick.
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xs:complexType name="HostInventoryLineType">
              <xs:sequence>
                   <xs:element name="an-element" type="xs:string"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="HostInventoryLine" type="HostInventoryLineType"/>
         <xs:element name="HOSTINVENTORYLINE" type="HostInventoryLineType" substitutionGroup="HostInventoryLine"/>
         <xs:element name="hostinventoryline" type="HostInventoryLineType" substitutionGroup="HostInventoryLine"/>
    </xs:schema>-Blaise

  • Dynamically Using  XML Element name as column names

    I have a requirement where I need to show data for 31 days or days of the month based on the data in the xml result.
    Based on the month you are running the report, some may have 28 elements and some may have 31 elements in the data for days.
    How do I dynamically show 28 columns or 31 columns etc - the trick here is I have to use the name of the XML element and not the value for column names.
    My requirement is like this.
    Deal --------01 -------- 02 -------- 03 -------- 04 05 .upto ... 31days
    Deal 1 : 22218 : 32218 : 11918
    Deal 2 : Qty1 : Qty2 : Qty3
    I need to be able to use the XML Element names , Day01, Day02 etc as the column names in the report.
    How can I use the XML Element name - in this case I need to remove the "Day" and use just the number part for the column name.
    I can't have xml element names as numbers, thats why "Day" string is prefixed.
    <Row state="">
    <DEAL>Deal 1</DEAL>
    <PORTFOLIO>AM ST Prod PDP</PORTFOLIO>
    <CPTY>DTEGO</CPTY>
    <FACILITY>MICHCON</FACILITY>
    <POINT>100013 : Chestonia 17-Rec</POINT>
    <TYPE>Purchase</TYPE>
    <Day01>22218</Day01>
    <Day02>32218</Day02>
    <Day03>11918</Day03>
    <Day04>11918</Day04>
    <Day05>11918</Day05>
    <Day06>11918</Day06>
    <Day07>11918</Day07>
    <Day08>11918</Day08>
    <Day09>11918</Day09>
    <Day10>11918</Day10>
    <Day11>11918</Day11>
    <Day12>23238</Day12>
    <Day13>11918</Day13>
    <Day14>11918</Day14>
    <Day15>11918</Day15>
    <Day16>32328</Day16>
    <Day17>11918</Day17>
    <Day18>11918</Day18>
    <Day19>11918</Day19>
    <Day20>11918</Day20>
    <Day21>11918</Day21>
    <Day22>11918</Day22>
    <Day23>11918</Day23>
    <Day24>11918</Day24>
    <Day25>11918</Day25>
    <Day26>11918</Day26>
    <Day27>13511</Day27>
    <Day28>13550</Day28>
    <Day29>13550</Day29>
    <Day30>13550</Day30>
    </Row>

    I have a requirement where I need to show data for 31 days or days of the month based on the data in the xml result.
    Based on the month you are running the report, some may have 28 elements and some may have 31 elements in the data for days.
    How do I dynamically show 28 columns or 31 columns etc - the trick here is I have to use the name of the XML element and not the value for column names.
    My requirement is like this.
    Deal --------01 -------- 02 -------- 03 -------- 04 05 .upto ... 31days
    Deal 1 : 22218 : 32218 : 11918
    Deal 2 : Qty1 : Qty2 : Qty3
    I need to be able to use the XML Element names , Day01, Day02 etc as the column names in the report.
    How can I use the XML Element name - in this case I need to remove the "Day" and use just the number part for the column name.
    I can't have xml element names as numbers, thats why "Day" string is prefixed.
    <Row state="">
    <DEAL>Deal 1</DEAL>
    <PORTFOLIO>AM ST Prod PDP</PORTFOLIO>
    <CPTY>DTEGO</CPTY>
    <FACILITY>MICHCON</FACILITY>
    <POINT>100013 : Chestonia 17-Rec</POINT>
    <TYPE>Purchase</TYPE>
    <Day01>22218</Day01>
    <Day02>32218</Day02>
    <Day03>11918</Day03>
    <Day04>11918</Day04>
    <Day05>11918</Day05>
    <Day06>11918</Day06>
    <Day07>11918</Day07>
    <Day08>11918</Day08>
    <Day09>11918</Day09>
    <Day10>11918</Day10>
    <Day11>11918</Day11>
    <Day12>23238</Day12>
    <Day13>11918</Day13>
    <Day14>11918</Day14>
    <Day15>11918</Day15>
    <Day16>32328</Day16>
    <Day17>11918</Day17>
    <Day18>11918</Day18>
    <Day19>11918</Day19>
    <Day20>11918</Day20>
    <Day21>11918</Day21>
    <Day22>11918</Day22>
    <Day23>11918</Day23>
    <Day24>11918</Day24>
    <Day25>11918</Day25>
    <Day26>11918</Day26>
    <Day27>13511</Day27>
    <Day28>13550</Day28>
    <Day29>13550</Day29>
    <Day30>13550</Day30>
    </Row>

  • XSLT Transformation error:  Non-canonical structure of element name

    Good day experts,
    I have recently started using xslt, and came upon the following demo in the sdn.
    http://wiki.sdn.sap.com/wiki/display/ABAP/XMLXSLTwith+ABAP
    I have retrieved the example xml files from airplus.com, as per the instructions, and implemented the code.
    When I test the xslt transformation in se80, it transforms correctly.
    However, when I run the program, I get the following error.
    CX_XSLT_FORMAT_ERROR
    Transformation error:  Non-canonical structure of element name XML_OUTPUT   
    Is there an error in the example that I am not aware of?
    Thanks in advance,
    Johan Kriek

    Found the solution.
    You rename the tag <XML_OUTPUT> to anything else like <TEST>. And Hurray!!! it works.
    It looks like SAP is using this name internally somewhere so we are getting error when we are using same name.
    Anyways the problem is solved.
    Regards,
    Jai

  • XPath expression for fetching element names & attributes

    Hi out there!
    I�m trying to get a result set out of a xml schema, using XPath. The problem is, that any expression gets just a whole node set back, as it seems. The result I�d like to get would be the following. Imagine I got a schema like this:
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:r="http://recipes.org"
    targetNamespace="http://recipes.org"
    elementFormDefault="qualified">
    <element name="recipe">
    <complexType>
    <sequence>
    <element name="title" type="string"/>
    <element ref="r:ingredient" minOccurs="0" maxOccurs="unbounded"/>
    <element ref="r:preparation"/>
    <element name="comment" minOccurs="0" type="string"/>
    <element name="nutrition">
    <complexType>
    <attribute name="protein" type="r:nonNegativeDecimal" use="required"/>
    <attribute name="carbohydrates" type="r:nonNegativeDecimal" use="required"/>
    <attribute name="fat" type="r:nonNegativeDecimal" use="required"/>
    <attribute name="calories" type="r:nonNegativeDecimal" use="required"/>
    <attribute name="alcohol" type="r:nonNegativeDecimal" use="optional"/>
    </complexType>
    </element>
    </sequence>
    </complexType>
    </element>
    </schema>
    Now, when I`m refering to the element <attribute name="protein" type="r:nonNegativeDecimal" use="required"/>, I would like to get all ancestors of it, which is not a big issue at all, but i`d just like to get their names and attributes, if they have some. So the result should be something like:
    <element name="recipe">
    <complexType>
    <sequence>
    <element name="nutrition">
    <complexType>
    </complexType>
    </element>
    </sequence>
    </complexType>
    </element>
    Any ideas anybody?
    Thanks in advance, Jens

    Well, I would use the org.apache.xpath.XPathAPI class and parse the input XML into a DOM document., and then utilize the single xpath expression //attribute[@name=protein]/ancestor::* to recover all ancestors (in a directal-tree-traversal order) of any node called "attribute" and with attr "name=protein" .
    Could it be?

  • Different Element Names

    I think the solution to my problem is very easy, but i couldn't fint it :(
    So, here is:
    I have an XML which have a list of elements with different names, but in sequence.
    An example:
    <DOC>
    <DOC_OBL_1>
      <TIP_DOC_OBL>1</TIP_DOC_OBL>
    </DOC_OBL_1>
    <DOC_OBL_2>
      <TIP_DOC_OBL>2</TIP_DOC_OBL>
      </DOC_OBL_2>
    <DOC_OBL_3>
      <TIP_DOC_OBL>3</TIP_DOC_OBL> 
    </DOC_OBL_3>
    </DOC>So, i have 3 elements: DOC_OBL_1, DOC_OBL_2 and DOC_OBL_3. And yes, there could be number 4, 5, 6, etc.
    As you can se, all 3 have the same elements inside(actually, they have a lot of them, but arent important righ now), and I thinked i could declare a general type which could validate this kind of documents.
    How can i validate this with an Schema???
    I know its a very ugly XML (maybe it isnt standard, please tell me, i dont know), but It's not my concern to build this document. I just have to parse it, validate it and transform it.
    You can just link to the solution, any help will be wellcome.

    Ok, thank you all.
    I've done this, finally:
      <xsd:element name="DOC_OBL">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="DOC_OBL_1" type="DocOBLType" minOccurs="1" />
            <xsd:element name="DOC_OBL_2" type="DocOBLType" minOccurs="0" />
            <xsd:element name="DOC_OBL_3" type="DocOBLType" minOccurs="0" />
            <xsd:element name="DOC_OBL_4" type="DocOBLType" minOccurs="0" />
            <xsd:element name="DOC_OBL_5" type="DocOBLType" minOccurs="0" />
            <xsd:element name="DOC_OBL_6" type="DocOBLType" minOccurs="0" />
            <xsd:element name="DOC_OBL_7" type="DocOBLType" minOccurs="0" />
            <xsd:element name="DOC_OBL_8" type="DocOBLType" minOccurs="0" />
            <xsd:element name="DOC_OBL_9" type="DocOBLType" minOccurs="0" />
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>with this:
      <xsd:complexType name="DocOBLType">
        <xsd:sequence>
          //elements..
        </xsd:sequence>
      </xsd:complexType>It works, for now. ^^
    (No, no, no.. i cant change the document formart, its not my concern!!)

  • Compiler issue when different case element names

    Hi
    Given this simple schema where two elements with the same name but a different case exist causes problems with the generated code.
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="test">
    <xsd:complexType mixed="false">
    <xsd:sequence>
    <xsd:element ref="TEST" minOccurs="1" maxOccurs="unbounded"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="TEST">
    <xsd:complexType mixed="false">
    <xsd:sequence>
    <xsd:element name="data" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    The compiler only generates class files for one of the Test elements, but refers to both (test and TEST) in the ObjectFactory class for example -> therefore I get compiler errors. Is there a way around this (e.g. bindings) without changing the schema.
    Thankyou
    AB

    Looking at the compiler output, it says it has generated the conflicting classes (e.g. TEST.java and Test.java), but when I look in the directory, only Test.java is there. I am assuming this may be a MS Windows problem. I am running this on Windows 2000 and the first file may be overwriting the second file - just a thought.
    If I can get hold of a UNIX box I will give it another go.
    AB

Maybe you are looking for

  • Adobe Media Encoder - .wmv export not provided?

    I'm using Adobe Media Encoder CS6 on a Windows 7 machine.  I need render out a Windows Media format (.wmv) but it is not found in any of the presets or from the format drop-down menu.  Only F4V, FLV, H.264, H.264 (Legacy) and MP3 are available. I can

  • JDI - error in import SAP_BUILDT and SAP_JTECHS Files

    Hello! I installed and configurated JDI. When i want to import dependence files in my software component, i have this error: Info:Starting Step CBS-make at 2006-03-02 09:36:52.0984 -3:00 Info:wait until CBS queue of buildspace EPT_BitTest_D is comple

  • M/08 maintain pricing condition not updating

    Hi experts , I have written some code in one of  the form in M/08 transaction for accomodating changes in the Pricing schema of PO .I have checkde the Statistics checkbox for that form . I have used the form for VAT calculation using  Excise Duty , E

  • Headache & Heartbroken..Nano 2nd Generation frozen

    I've had my Nano for 8 years (yeah I know that's a lot of years....) But for the last 2 its been on the back burner. I have done just about every suggestion there is except taking out the battery. Which I know is NOT something APPLE would suggest. I

  • Requirement type of return delivery

    Dear all, In our system, requirement types determination is based on the Strategy Groupe of material master. This works very well as we have different form of deliveries. The problem are the return deliveries. We would like to have an other requireme