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

Similar Messages

  • Smartform font spacing Issue when using SAP printer name

    Hi Friends,
    I am facing some spacing issues when printing a form using SAP printer name. If I use LOCL then the output comes perfectly but when I use the SAP printer name the space between characters are getting widened and so the alignment of each column goes wayward. I suspect it could be due to the device type but not sure which seeting controls this. There is a similar problem in the logo as well. When using LOCL the logo comes out good but when using the printer name the quality is not good and becomes pixelised. Have any of you faced similar issues? Can you provide some guidance or pointers for the solution.
    Device type of LOCL : ZSAPWIN
    Device type of SAP printer name :  ZHPLJ5
    CPI is defined in smartform as 10.
    Please let me know if you need more information.
    Thanks,
    Praveen

    Hi,
    This problem occurs because the printer driver for both the printers are different,
    I suggest you use Local printer only or configure any other printer with printer diver in SAP as SAPWIN.
    Regards,
    Bharat.

  • Can't get over the tools issue when re-installing Elements 11

    I've been using Elements 11 on Windows Vista (64) with no problems.
    One day, instead of starting Elements, I got the message to re-install Elements for some tools issue. So I uninstalled but re-install never got through. When it comes to the Organizer section, it won't pass some tool issue again.
    ASA did not fix the problem. When I manually search the logfiles under installers, I find myself drowning in millions of errors.
    Stuff like this:
    FATAL: DB001: Database file '{98CE8819-87AA-4814-8167-ADDDD513485F}.db' does not exist.
    FATAL: DF012: Installation source path does not exist: C:\Program Files (x86)\Common Files\Adobe\Installers\uninstall\{98CE8819-87AA-4814-8167-ADDDD513485F}.db
    ERROR: Updating driver data failed. Driver entry was notadded. ARP estimated size 0KB
    ERROR: Updating driver data failed. Driver entry was notadded. ARP estimated size 479709KB
    or in another log file I found it is this:
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\LensProfiles\1.0\Sony". Error 145 Das Verzeichnis ist nicht leer.(Seq 4)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 4)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\LensProfiles\1.0\Sigma\Sony". Error 145 Das Verzeichnis ist nicht leer.(Seq 38)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 38)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\LensProfiles\1.0\Sigma\Sigma". Error 145 Das Verzeichnis ist nicht leer.(Seq 80)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 80)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\LensProfiles\1.0\Sigma\Pentax". Error 145 Das Verzeichnis ist nicht leer.(Seq 116)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 116)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\LensProfiles\1.0\Sigma\Nikon". Error 145 Das Verzeichnis ist nicht leer.(Seq 171)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 171)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\LensProfiles\1.0\Sigma\Canon". Error 145 Das Verzeichnis ist nicht leer.(Seq 213)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 213)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\LensProfiles\1.0\Sigma". Error 145 Das Verzeichnis ist nicht leer.(Seq 214)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 214)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\LensProfiles\1.0\Nikon". Error 145 Das Verzeichnis ist nicht leer.(Seq 241)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 241)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\LensProfiles\1.0\Canon". Error 145 Das Verzeichnis ist nicht leer.(Seq 284)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 284)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\LensProfiles\1.0\Apple". Error 145 Das Verzeichnis ist nicht leer.(Seq 287)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 287)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\LensProfiles\1.0". Error 145 Das Verzeichnis ist nicht leer.(Seq 288)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 288)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\LensProfiles". Error 145 Das Verzeichnis ist nicht leer.(Seq 289)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 289)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\CameraProfiles\Camera". Error 145 Das Verzeichnis ist nicht leer.(Seq 712)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 712)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\CameraProfiles\Adobe Standard". Error 145 Das Verzeichnis ist nicht leer.(Seq 954)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 954)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw\CameraProfiles". Error 145 Das Verzeichnis ist nicht leer.(Seq 955)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 955)
    ERROR: DF037: Unable to delete directory "C:\ProgramData\Adobe\CameraRaw". Error 145 Das Verzeichnis ist nicht leer.(Seq 956)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 956)
    ----------- Payload: {1A726E43-1269-42D5-9915-54FF4BC5F3D1} Camera Profiles Installer_6.5_AdobeCameraRawProfile6.0All 6.5.0.0 -----------
    ERROR: DF037: Unable to delete directory "C:\Program Files (x86)\Common Files\Adobe\Elements STI Installer\Adobe\AdobePatchFiles". Error 145 Das Verzeichnis ist nicht leer.(Seq 1001)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 1001)
    ERROR: DF037: Unable to delete directory "C:\Program Files (x86)\Common Files\Adobe\Elements STI Installer\Adobe". Error 145 Das Verzeichnis ist nicht leer.(Seq 1002)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 1002)
    ERROR: DF037: Unable to delete directory "C:\Program Files (x86)\Common Files\Adobe\Elements STI Installer". Error 145 Das Verzeichnis ist nicht leer.(Seq 1003)
    ERROR: DW063: Command ARKDeleteDirectoryCommand failed.(Seq 1003)
    WARNING: Failed to update the csu inventory for {1A726E43-1269-42D5-9915-54FF4BC5F3D1} Camera Profiles Installer_6.5_AdobeCameraRawProfile6.0All 6.5.0.0 return values 13:110

    Yorengl the DW063 error indicates then inability to write to those specific directories.  Please see Error "Exit 6" or "Exit 7" | Install log | Read, write, system file errors | CS5, CS5.5 - http://helpx.adobe.com/creative-suite/kb/error-exit-6-exit-7.html for information on how to adjust your file permissions.

  • Installation OK but nothing happend when launching Premiere Elements 13

    Hi everybody,
    I have an issue when launching Premiere Elements 13.
    Installation was ok, serial ok.
    When launching
    - i choose Premiere instead Organizer
    - Pop up ask me to connect to my Adobe id account to activate => next
    - i enter my id for connection => ok
    - Software License Agreement => I agree
    And then nothing happen, the dialog box close and ... nothing.
    I work on win7 64bits.
    I buyed both Photoshop Elements 13  and Premiere Elements together.
    I install Photoshop on my job computer and i install Premiere on my personnal computer.May it come from here.
    Thanks for your expérience.

    Wombat_kio
    Premiere Elements 13 on Windows 7 64 bit.
    Does the problem exist with and without the antivirus and firewall(s) disabled?
    Do you have the latest version of QuickTime installed on your computer with Premiere Elements? And are you running the programs as administrator?
    Is your video card/graphics card driver version up to date according to the web site of the manufacturer of the card?
    Please look at the hosts file and other considerations included in the following Premiere Elements 12 link and determine if any applies to your Premiere Elements 13 situation
    ATR Premiere Elements Troubleshooting: PE12: Premiere Elements 12 Editor Will Not Open
    Please review and consider, and then we will move forward based on your details in your reply.
    Thank you.
    ATR

  • Outlook lost connection when load balanced CAS array name was moved to different AD site and data centre

    At the weekend our F5 load balanced CAS array name was moved to our 3rd datacentre and all users lost access to Outlook.  The databases were running on DAG2 listed below at the time.
    We have 3 DAG servers configured as the following:
    DAG SERVER ONE (DAG1) | Datacentre 1 | Primary AD Site | Multi role server MBX, CAS, HT
    DAG SERVER TWO (DAG2)  | Datacentre 2 | Primary AD Site | Multi role server MBX, CAS, HT
    DAG SERVER THREE (DAG3) | Datacentre 3 | Secondary AD Site | Multi role server MBX, CAS, HT
    We primarlily run from DAG1 or DAG2 - DAG3 is for real DR and loss of Datacentre 1 and 2.  The CAS array "Outlook" is configured for the primary AD site load balanced across DAG1 and DAG2.
    We use an F5 load balancer that balances the connections across DAG1 and DAG2, if both fail then DAG3 is used automatically.   We have tested and it works fine simulating loosing DAG1 and DAG2 and bringing up as a 1 node cluster on DAG3 with a
    FSW and the load balancer pointing at DAG3 for Outlook connections.
    For some reason this stopped Outlook users connecting - can anyone advise me why as I have been asked to test this again and I was expecting it to work?

    Hi,
    As far as I know, For Exchange 2010 before SP2 RU3,the Outlook clients with an existing Outlook profile would continue to use the old RPC endpoint rather than the new RPC endpoint (even though Autodiscover detected the change). Thus, except with Andy's suggestion,
    I recommend you can also repair or recreate the Outlook profile to have a test.
    For more information, you can refer to the following article:
    http://blogs.technet.com/b/aljackie/archive/2013/11/14/outlook-rpc-end-point-and-pf-the-microsoft-exchange-administrator-has-made-a-change-that-requires-you-quit-and-restart-outlook.aspx
    Thanks,
    Angela Shi
    TechNet Community Support

  • Unexpected element name: expected WHEN INVOKING A WEB SERVICE

    I am pretty new to Web Services and need some helping in resolving the following error. I created following two classes and published one of the method savePerson. When I tried to invoke the webservice through my browser passing the following:
    <ns1:savePersonElement xmlns:ns1="http://mypackage17/Person.wsdl/types">
    <ns1:sex>simpleType value</ns1:sex>
    <ns1:human>
    <ns2:last xmlns:ns2="http://tempuri.org">simpleType value</ns2:last>
    <ns3:first xmlns:ns3="http://tempuri.org">simpleType value</ns3:first>
    </ns1:human>
    </ns1:savePersonElement>
    I get the following error:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://mypackage17/Person.wsdl/types">
    <env:Body>
    <env:Fault>
    <faultcode>env:Client</faultcode>
    <faultstring>caught exception while handling request: unexpected element name: expected={http://mypackage17/Person.wsdl/types}name, actual={http://mypackage17/Person.wsdl/types}sex</faultstring>
    </env:Fault>
    </env:Body>
    </env:Envelope>
    But passing the following works fine as have passed all the parameters data:
    <ns1:savePersonElement xmlns:ns1="http://mypackage17/Person.wsdl/types">
    <ns1:name>simpleType value</ns1:name>
    <ns1:sex>simpleType value</ns1:sex>
    <ns1:human>
    <ns2:last xmlns:ns2="http://tempuri.org">simpleType value</ns2:last>
    <ns3:first xmlns:ns3="http://tempuri.org">simpleType value</ns3:first>
    </ns1:human>
    </ns1:savePersonElement>
    Here is the code I have for the webservice:
    package mypackage17;
    *@oracle.ws.WebService name = "MyWebService2", serviceName = "MyWebService2", description = "", targetNamespace = "http://tempuri.org", schemaTargetNamespace = "http://mypackage17/Person.wsdl/types", endpointInterface = "mypackage17.MyWebService1SEI"
    *@oracle.ws.SOAPBinding style = "DOCUMENT", use = "LITERAL", documentWrapped = "true", bindingName = "MyWebService1SoapHttp", portName = "MyWebService1Port"
    public class Person extends Human
    private String name;
    private String sex;
    public Person(){}
    public void setName(String name)
    this.name = name;
    public void setSex(String sex)
    this.sex = sex;
    public String getName()
    return this.name;
    public String getSex()
    return this.sex;
    *@oracle.ws.DocumentWrapper requestType = "savePerson", requestElement = "savePersonElement", requestPart = "parameters", responseType = "savePersonResponse", responseElement = "savePersonResponseElement", responsePart = "parameters"
    *@oracle.ws.WebMethod operationName = "savePerson", description = "", oneway = "false", documentWrapped = "true", inputMessage = "MyWebService1SEI_savePerson", outputMessage = "MyWebService1SEI_savePersonResponse", responsePart = "result"
    *@oracle.ws.ParamPart position = "0", partName = "name", mode = "IN", soapHeader = "false"
    *@oracle.ws.ParamPart position = "1", partName = "sex", mode = "IN", soapHeader = "false"
    *@oracle.ws.ParamPart position = "2", partName = "human", mode = "IN", soapHeader = "false"
    public void savePerson(String name, String sex, Human[] human)
    System.out.println("Name: " + name);
    System.out.println("Sex: " + sex);
    System.out.println(human.length);
    System.out.println("1 First: " + human[0].getFirst());
    System.out.println("1 Last: " + human[0].getLast());
    System.out.println("2 First: " + human[1].getFirst());
    System.out.println("2 Last: " + human[1].getLast());
    /****** THE OTHER CLASS ********/
    package mypackage17;
    public class Human
    private String first;
    private String last;
    public Human(){}
    public void setFirst(String first)
    this.first = first;
    public void setLast(String last)
    this.last = last;
    public String getFirst()
    return this.first;
    public String getLast()
    return this.last;
    Here is the WSDL generated using JDeveloper 10.1.3:
    <?xml version="1.0" encoding="UTF-8" ?>
    <definitions
    name="MyWebService2"
    targetNamespace="http://tempuri.org"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="http://tempuri.org"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:ns1="http://mypackage17/Person.wsdl/types"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
    >
    <types>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://tempuri.org" elementFormDefault="qualified"
    xmlns:tns="http://tempuri.org" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
    <import namespace="http://mypackage17/Person.wsdl/types"/>
    <complexType name="Human">
    <sequence>
    <element name="last" type="string" nillable="true"/>
    <element name="first" type="string" nillable="true"/>
    </sequence>
    </complexType>
    </schema>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://mypackage17/Person.wsdl/types"
    elementFormDefault="qualified" xmlns:tns="http://mypackage17/Person.wsdl/types"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://tempuri.org">
    <import namespace="http://tempuri.org"/>
    <complexType name="savePerson">
    <sequence>
    <element name="name" type="string" nillable="true"/>
    <element name="sex" type="string" nillable="true"/>
    <element name="human" type="ns1:Human" nillable="true" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    <complexType name="savePersonResponse">
    <sequence/>
    </complexType>
    <element name="savePersonElement" type="tns:savePerson"/>
    <element name="savePersonResponseElement" type="tns:savePersonResponse"/>
    </schema>
    </types>
    <message name="MyWebService1SEI_savePerson">
    <part name="parameters" element="ns1:savePersonElement"/>
    </message>
    <message name="MyWebService1SEI_savePersonResponse">
    <part name="parameters" element="ns1:savePersonResponseElement"/>
    </message>
    <portType name="MyWebService2">
    <operation name="savePerson">
    <input message="tns:MyWebService1SEI_savePerson"/>
    <output message="tns:MyWebService1SEI_savePersonResponse"/>
    </operation>
    </portType>
    <binding name="MyWebService1SoapHttp" type="tns:MyWebService2">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="savePerson">
    <soap:operation soapAction="http://tempuri.org:savePerson"/>
    <input>
    <soap:body use="literal" parts="parameters"/>
    </input>
    <output>
    <soap:body use="literal" parts="parameters"/>
    </output>
    </operation>
    </binding>
    <service name="MyWebService2">
    <port name="MyWebService1Port" binding="tns:MyWebService1SoapHttp">
    <soap:address location="http://192.168.2.101:8988/JavaWebService/MyWebService2"/>
    </port>
    </service>
    </definitions>
    Can someone tell what am I doing wrong. As it looks like I have to pass all the parameters for the method that is published but what if some are missing basically I want to keep all the parameters optional. How can I make the service to return the same what is passed when invoked. Any help is appreciated. I am using JDeveloper 10.1.3.

    To make the service return "whatever is passed", you have to take a step back and realize that there is a little understanding of XML Schema required.
    When using a complexType, which is defined as a sequence, then you are implying an ordered sequence of elements. Default value for the 'minOccurs' attribute is 1. It's also important to understand that there is a difference between minOccurs=0 and nillable="true".
    nillable="true" just means that the name element can carry a null value. If you want the name element to be optional, then you must use the minOccurs=0 and keep the maxOccurs to it's default value of 1. Using an array is just a bad work around. This is for deserialization (XML to JAVA).
    The second part of you problem is on the serialization (or JAVA to XML). When you have a JAVA Bean, there is no way to make the difference between a member's value being null or not set, so it's impossible to decide if you need to send back a nul (xsi:nil="true"), an empty element <ns1:name/> or nothing.
    That said, if you do want to go the XML route, you can use the dataBinding="false" flag in the different WSA command. Instead of converting XML into JAVA, you will have SOAPElement parameters, where you can do all you want (see WS user's guide [1] for details - chapter 16). Note that you have to make sure that the WSDL (your contract) reflect what you are doing on the wire (format of your messages), so that you do not geopardize your interoperability with other toolkit.
    Note that this only applies to literal message formats (use attribute in WSDL), which is your case.
    Hope this helps,
    Eric
    [1] http://download-west.oracle.com/otn_hosted_doc/ias/preview/web.1013/b14434.pdf

  • Hi. I am using a time capsule for few PC s. I have made 5 different account to access time capsule. but in windows when i enter account name and password for one account, i cannot access other accounts, because windows saves username

    Hi. I am using a time capsule for few PC s. I have made 5 different account to access time capsule. but in windows when I enter account name and password for one account, i cannot access other accounts, because windows saves username. how can i prevent this from happenning. I really need to access all my accounts and dont want it to save automaticlly.

    Why have 5 accounts if you need to access all of them.. just have one account?
    Sorry I cannot follow why you would even use the PC to control the Time Capsule. Apple have not kept the Windows version of the utility up to date.. so they keep making it harder and harder to run windows with apple routers.

  • 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.

  • Due to NAS issues, when I started a new time machine backup it did not have the old backups available. My question is do I need to delete them or will time machine automatically reclaim the space?  Only one Sparse Bundle, same name.

    Due to NAS issues, when I started a new time machine backup it did not have the old backups available. My question is do I need to delete them or will time machine automatically reclaim the space?  There is only one sparse bundle but when I enter time machine I don't see my historic backups.  I use a synology DS212 for my time machine.  Started a new backup which is 218gb but it says 618 gb is occupied  therefore it looks like 2 or 3 backups are still on the disk. Before my NAS issues the last backup was in 2014.  As you can see there is a second sparse bundle from 2012.  Not sure what that is.

    This is an old message now, but what happened to me similarly was:
    I had a major computer crash and through complicated pathways ended up reinstalling (Mavericks) as a new user (long story).
    At least I had good Time Machine backups on an NAS drive (Synology DS212j), or so I thought - when I started Time Machine up again, the old backup file was gone, replaced by a new one using my "new computer" name. The old file was gone both by directly mounting the NAS drive and by clicking "Enter Time Machine".
    It's like I had {OldShareName}.sparsebundle and then it was replaced by {NewShareName}.sparsebundle, all of the old info vanished.
    (I have spent a week finding old files elsewhere and have completed a satisfactory self-restore. It pays to "archive" [my own variation of] as well as "back-up".)
    My belief is that if this were a wired-netword-drive, e.g. plugged right into my iMac with a USB cable, then the old file would have remained.
    But this is an NAS drive, connected directly to my Airport wireless router, and I don't know the significance of the fact that it stores its Time Machine backups as "sparsebundle" files rather than simply as plain(er) files.
    As usual when things get complicated with computers (not just Apple computers) there was never a warning message. Something like "YOU'RE ABOUT TO DELETE A TIME MACHINE BACK-UP FILE!!!" would have made my life a lot simpler.
    BTW, I did try a "restore from Time Machine" option the first thing I had my "new computer" (old hardware, 2009 iMac) up and running, using Migration Assistant, and it ran for many hours and then failed in the wee hours - what that has to do with anything I'm not sure.
    I'm not sure that I have a question about this other than "why do these things happen to me?", but it's a warning. Apart from that I've been very happy with the stability and reliability (but not the cost or set-up complexity) of NAS vs. directly-cabled external drives.
    Charles

  • 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

  • Is anyone else having Config error 16 issue when trying to start PSE 12 or Premier Elements after Mac upgrade to Yosemite 10.10 on iMac

    Is anyone else having Config error 16 issue when trying to start PSE 12 or Premier Elements 12 after the Mac upgrade to OS X Yosemite 10.10 on iMac. I have had a number of issues with software and things after upgrading to OS X Yosemite 10.10 and even 10.10.1.  I have uninstalled and reinstalled both PSE 12 and Premier Elements 12 a number of times and everything goes fine until its ready to launch and then you get an error message. Numerous uninstalled and reinstalls don't removing the problem.  Strangely enough  PSE 11 still appears to boot up and I never owned Premier Elements 11 so I don't know if it will start. I thought with Apple dropping its Apeture software and greater integration of iPhoto and Apeture files into Lightroom 5.7 all would be harmonious between these two players. Im not sure where Adobe wants us to go it recently removed the plugin to allow you to update files from LR to Adobe Revel, whats up with that. I now own two version of Adobe software that no longer work with my Mac and now way of uploading pictures from Lightroom to Revel. Needless to say I am pretty reluctant to sign on to a subscription of Creative Cloud with long term financial obligations when I can't even get my current Adobe software to work independently much less integrate with Lightroom. Frustrated with it all!

    Get rid of 'put disks to sleep when possible' and you may see a dramatic improvement (not necessarily a cure).
    That specific problem is a multiple-Processor (including graphics processor) problem, where one of the processors lost track of whether it should be responding to interrupts. You may have a Hardware problem.

  • 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!!)

  • I have been having a issue with getting the colors on my monitor to match the colors fro my print lab. I now have the monitor calibrated to match the prints but when I open elements it doesn't use the same colors. If i have it use the calibrated profile b

    I have been having a issue with getting the colors on my monitor to match the colors fro my print lab. I now have the monitor calibrated to match the prints but when I open elements it doesn't use the same colors. If i have it use the calibrated profile by changing the color management settings, the color picker no longer shows true white or black. How do I get elements 12 to honor the new calibrated settings?

    Ok so I've done what you said and this is what it's come back ....
    I don't know that these are the errors , but they're the things which don't look right ...
    Throughout the shut down there is a recurring line ;
    It says ;
    Com.apple.launchd 1 0x100600e70.anonymous.unmount 301 PID still valid
    Then there are 2 more which I think are related ;
    Com.apple.securityd 29 PID job has I overstayed its welcome , forcing removal.
    Then the same with fseventd 48 and diskarbitrationd 13
    Oh and on Launchd1 : System : stray anonymous job at shut down : PID 301 PPID13 PGID 13 unmount...
    Then the last process says "about to call: reboot (RB_AUTOBOOT).
    Continuing...
    And stops ...
    Hope this means something to you ... Thanks again for your help so far :-)

  • QBE issue when using different db types

    Hello,
    Our ADF application has the ability to connect to the same schema but different backends (Oracle and SQL Server). I have successfully implemented switching the AM data source. I am running into a syntax issue when performing Query By Example for a table. The error is (Incorrect Syntax near "|"). In the VOImpl I overrode the function public String getViewCriteriaClause(boolean forQuery) and I can see the viewCriteriaClause is "( (UPPER(TransMasterEO.TMMessage) LIKE UPPER( ? || '%') ) )". This works when running against the Oracle instance but fails when running against the SQL Server instance.
    I implemented code to replace the "||" with "+" but then we fail on Oracle. Can someone recommend an approach to resolve?
    Running 11.1.1.6
    Thank you
    Rudy

    he different dbs yre using different sql flavors. This is causing trouble if you change the connection to a db which is using a different flavor. I'm not aware that you can change the flavor used to build the queries to, but you can implement your own sqlbuilder which may just extend from the one for hte right flavor and then build the sql through the right class.
    Check http://jobinesh.blogspot.com/2013/02/customizing-sql-builder-class.html for more info on how to change the sqlbuilder.
    Timo

Maybe you are looking for

  • Unix command to require password to wake computer from sleep or screensaver

    Yo folks, Just as the subject says, is there a Unix command we can send that turns on the option to require password when the computer wakes from sleep or screensaver...which is the first option in System Preferences --> Security? I looked through th

  • When uploading to Facebook how can I remove the "via Photoshop & Adobe Premiere Elements Uploader" ?

    Hi everyone, I am slowly getting to grips with Premiere Elements12. When uploading to Facebook how can I remove the "via Photoshop & Adobe Premiere Elements Uploader" ? I see there was an earlier posting (http://forums.adobe.com/message/3320214#33202

  • Need help with XQuery

    I have 2 xml documents Team and Player Here is how they look like team.xml <Teams>   <Team>   <Lost>59</Lost>   <Name>NewYork</Name>   <Won>103</Won>   </Team>   <Team>   </Team> <Teams> player.xml <Players>   <Player>   <Age>24</Age>   <Team>NewYork

  • IOS Numbers has crashed - can I restore my spreadsheet?

    I have a spreadsheet in numbers, I tried to open it and it says Spreadsheet can't be opened.  I have no idea why but I desperately do not want to lose the spreadsheet as it took me a long time to put together.

  • How to update a table with if condition

    here is my table  Party1 party2 DELFlag JON     NYC     0 JON     NYC1   0  SAM     NYC   0 SAM    NYC1   0 TOM     NYC1   0 GIT      NYC1   0 No I need to change all NYC1 to NYC , but I get primary key error As JON is already related to JON->NYC  in