Xml Document is not formed correctly.. Help me..

Using the .xsd files provided to me, I created XMLBeans using the schema project in weblogic 8.1 sp2.
These XMLBeans are used to create a XML document in my Weblogic Integration process. The values in the xml document are retrieved from a database (which cannot administered/viewed by me). XML document was formed perfectly. But recently when I tried running the application again, I found that the xml is not created properly.
When I tried to print the xml message, it displays the xml message with the first letter changed from '<' to '<'.
eg.
<batch_document>
</batch_document> is displayed as
<batch_document>
</batch_document>
What may be the reason behind this change. Is it possible because of some invalid data from the backend? If so, what could be the data?
Is there any special characters which when inserted between the elements makes the document like this?
The code that creates the xml document looks like this ...
BatchDocumentDocument bDoc= BatchDocumentDocument.Factory.newInstance();
BatchDocument bd= bDoc.addNewBatchDocument();
System.out.println(bDoc.toString());
The print statement prints the xml message as
<batch_document>
</batch_document>
I would be grateful even if I am answered with any of these questions.
Thanks in advance.

Hello Elango,
Have you tried validating the instance document using the validate() method
-Raj
<Elango SV> wrote in message news:[email protected]..
Using the .xsd files provided to me, I created XMLBeans using the schema
project in weblogic 8.1 sp2.
These XMLBeans are used to create a XML document in my Weblogic
Integration process. The values in the xml document are retrieved from a
database (which cannot administered/viewed by me). XML document was formed
perfectly. But recently when I tried running the application again, I
found that the xml is not created properly.
When I tried to print the xml message, it displays the xml message with
the first letter changed from '<' to '<'.
eg.
<batch_document>
</batch_document> is displayed as
<batch_document>
</batch_document>
What may be the reason behind this change. Is it possible because of some
invalid data from the backend? If so, what could be the data?
Is there any special characters which when inserted between the elements
makes the document like this?
The code that creates the xml document looks like this ...
BatchDocumentDocument bDoc= BatchDocumentDocument.Factory.newInstance();
BatchDocument bd= bDoc.addNewBatchDocument();
System.out.println(bDoc.toString());
The print statement prints the xml message as
<batch_document>
</batch_document>
I would be grateful even if I am answered with any of these questions.
Thanks in advance.

Similar Messages

  • XML document does not appear to contain a properly formed DOCTYPE header

    Hi,
    I've created an ejb which uses the studio API to start/execute etc the workflow
    tasks in a generic way. The same ejb contain certain method which I want to use
    as business operations in my workflows. However, when I deploy this ejb as a separate
    application by putting the required jar files in class path it works fine, but
    when I deploy it as a part of WLI application for accessing the business operations
    in workflow I'm getting the following error. I'm entering ejbcomponent entry under
    the wli application tag of config.xml and putting the jar file in the lib directory
    where other jar files are placed. I couldn't understand the reason why it is failing
    when I deploy it as a part of WLI application and not when I deploy it independently.
    Module Name: TestWLPI, Error: The XML parser encountered an error in your deployment
    descriptor. Please ensure that your DOCTYPE is correct. You may wish to compa
    re your deployment descriptors with the WebLogic Server examples to ensure the
    format is correct. The error was:
    weblogic.xml.process.ProcessorFactoryException: XML document does not appear to
    contain a properly formed DOCTYPE header
    at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:281)
    at weblogic.xml.process.ProcessorFactory.getProcessor(ProcessorFactory.java:224)
    at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:267)
    at weblogic.ejb20.dd.xml.DDUtils.processXML(DDUtils.java:242)
    at weblogic.ejb20.dd.xml.DDUtils.processAltDD(DDUtils.java:220)
    at weblogic.ejb20.dd.xml.DDUtils.createDescriptorFromJarFile(DDUtils.java:102)
    at weblogic.ejb20.deployer.EJBModule.loadEJBDescriptor(EJBModule.java:500)
    at weblogic.ejb20.deployer.EJBModule.loadDescriptor(EJBModule.java:207)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:714)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:555)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:458)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareAllStagedApplications(SlaveDeployer.java:490)
    at weblogic.management.deploy.slave.SlaveDeployer.initialize(SlaveDeployer.java:253)
    at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.initialize(DeploymentManagerServerLifeCycleImpl.java:150)
    at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
    at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
    at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
    at weblogic.Server.main(Server.java:32)

    javax.xml.stream.XMLStreamException: javax.xml.stream.XMLStreamException: Premature end of file encountered
    at weblogic.xml.stax.XMLStreamReaderBase.prime(XMLStreamReaderBase.java:80)
    at weblogic.xml.stax.XMLStreamReaderBase.setInput(XMLStreamReaderBase.java:99)
    at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:316)
    at weblogic.xml.stax.XMLStreamInputFactory.createXMLStreamReader(XMLStreamInputFactory.java:49)
    at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:110)
    at weblogic.application.descriptor.BasicMunger2.<init>(BasicMunger2.java:128)
    at weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:74)
    at weblogic.application.descriptor.VersionMunger.<init>(VersionMunger.java:63)
    at weblogic.servlet.internal.WlsWebAppReader2.<init>(WlsWebAppReader2.java:59)
    at weblogic.servlet.internal.WebAppDescriptor$MyWlsWebAppDescriptor.createXMLStreamReader(WebAppDescriptor.java:316)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.createDescriptorBean(AbstractDescriptorLoader2.java:402)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.loadDescriptorBeanWithoutPlan(AbstractDescriptorLoader2.java:759)
    Any Suggestions plz???
    Thanks

  • XML document could not be created because server memory is low( SCOM 2012 R2).

    Hi 
    I am facing below issue in the scom 2012 r2.
    please find the error below 
    On SCOM MS:
    Alert name :Data Warehouse relationship synchronization process failed to write data 
    Alert description :Data Warehouse relationship synchronization process failed to write data to the Data Warehouse database. Failed to store data
    in the Data Warehouse. The operation will be retried.
    Exception 'SqlException': Sql execution failed. Error 6624, Level 16, State 1, Procedure sp_xml_preparedocument, Line 1, Message: XML document could not be created because server memory is low. Use sp_xml_removedocument to release XML documents.
    Event id in Operation log:  
    Event id :33333 
    Data Access Layer rejected retry on SqlError:
     Request: DataWarehouseSynchConfigChangeTypeGet -- (InstalledManagementPackXml=<ManagementPacks><ManagementPack>7b9f4239-7351-e72b-4ce4-d6c56ddb401d</ManagementPack><ManagementPack>848edb97-9da5-e2ae-24d4-56...),
    (RETURN_VALUE=-6)
     Class: 16
     Number: 6624
     Message: XML document could not be created because server memory is low. Use sp_xml_removedocument
    to release XML documents.
    ON SCOM DB server:
    SQL version : SQL 2012 SP1 X64 bit Host all SCOm db (SCOM DB,SCOM DW,Reporting)
    Ervent id : 28005 ,Application log,source: MSSQLSERVER
    Please suggest me in this regard.
    Thanks 
    sridhar v

    For fix error 33333, you can refer below links
    http://opsmgradmin.blogspot.com/2011/05/scom-event-id-33333-in-scom-from-source.html
    http://systemcenterblog.blogspot.com/2009/11/error-id-33333-data-access-layer.html
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • Download page will not form correctly

    The webpage for downloading iTunes 6 does not form correctly. There is not a link to begin the download.

    hi y'all!
    if you're seeing a blank blue box on the itunes download page, the usual suspect is
    b McAfee Privacy Service.
    (it causes a similar problem on the ipod software updater download page, too.) see the McAfee entry here:
    b noir, "the conflict apocrypha", 10:07am Aug 18, 2005 CDT
    ... and also see related posts in the thread by btabz and Blandine Catastrophe.
    love, b

  • My document did not convert correctly.  Can I fix it in the PDF version?

    My document did not save as it was originally written.  Can I fix it once it has been changed to a PDF?

    Hi iamreadytoscream,
    Did you use PDF Pack to convert a file to PDF? What was the original file format? And, can you provide a little detail about what didn't convert correctly?
    I think the best approach is to figure out why the file didn't convert correctly. You would need Acrobat to edit the PDF once it's created. And, as Acrobat isn't a word processor, it really isn't meant for major editing or formatting.
    Please tell me a bit more about the file that you converted and we'll go from there.
    Best,
    Sara

  • Program not working correctly-Help!

    class Sort
         /* method takes an array of integers as an input,
         * and returns a copy with the element values sorted
         * by select method.
         int[] selectSort(int[] input)
              /*declare variables to be used in array */
              int x, y, max, temp;
              int[] select = new int[input.length];
              /*This loop reads the entire array */
              for(x = input.length - 1; x>0; x--)
                   max = 0;
                   /*This loop checks to see if any number is
                   lower possible greatest number /
                   for(y = 0; y <= x; y++)
                   {//Returns number if lowest number
                        if(input[y] > input[max])
                             max = y;
                        }//end of if statement
                   }//end of inner loop
                   /*Switches the values */
                        temp = input[x];
                        select[x] = input[max];
                        select[max] = temp;
              }//end of outer loop
              return select;          
         } //end of selectSort()
         /* method takes an array of integers as an input,
         * and returns a copy with the element values sorted
         * by bubble method.
         int[] bubbleSort(int[] input)
              int[] bubble = new int[input.length];
              for (int x = 1; x < input.length; x++)
                   for (int y = 0; y < input.length - 1; y++)
                        if (input[y] > input[y+1])
                             int temp = input[y];
                             bubble[y] = input[y+1];
                             bubble[y+1] = temp;
              return bubble;
         } //end of bubbleSort
    **********************Test Class**********************
    class TestSort
         public static void main(String[] args)
              /* count variable used as loop counter when
              * result table display is generated
              int count;
              /* variable for object of class Sort */
              Sort x;
              /* create object of class GroupEx2 */
              x = new Sort();
              /* create a source array of integer elements */
    int[] y = new int[5];
    /* assign values to array elements to be sorted     */     
              y[0] = 8;
              y[1] = 5;
              y[2] = 3;
              y[3] = 9;
              y[4] = 1;
              /* create variable for target of select sort array */
              int[] ss;
              /* create variable for target bubble sort array */
              int[] bs;
              /* call method to return an array with element values select sorted*/
              ss = x.selectSort(y);
              /* call method to return an array with element values bubble sorted*/
              bs = x.bubbleSort(y);          
              /* display original and sorted arrays in three columns*/
              System.out.print("Input Array" + "\t");
              System.out.print("Select Sort" + "\t");
              System.out.println("Bubble Sort");
              for (count = 0; count < y.length; count++)
                   /* Column 1: original array */
                   System.out.print("input[" + count + "] = " + y[count]);
                   /* tab between columns 1 and 2 */
                   System.out.print("\t");
                   /* Column 2: select sorted array */
                   System.out.print("select[" + count + "] = " + ss[count]);
                   /* tab between columns */
                   System.out.print("\t");
                   /* Column 3: bubble sorted array */
                   System.out.println("bubble[" + count + "] = " + bs[count]);
              } // end of display for loop
         } // end of main()
    } // end of class TestSort

    Thanks for the Bash! I'm surprised you had the time
    for it.Go back and look at your original post. A whole bunch of code, and the only description of the problem is "not working correctly." Do you honestly think that's a reasonable way to ask for help? Do you go to the doctor and say, "I'm sick" and then just wait for him to cure you? Do you take your care to the mechanic and say only, "It's broke"?
    Look, this is your problem and it's your responsibility to fix it. There are people here who are happy to help you, but it's up to you to provide a reasonable statement of what's wrong, what you've tried, what you don't understand. For instance:
    Does it compile? If not, post the complete error message.
    Does it run, but throw an exception? If so, post the stack trace.
    Does it not throw an exception, but not behave the way you expect? Then describe the expected beavior and the observed behavior.
    Do you really need to be told this stuff? It seems like common sense that when you're asking people to spend their time helping you, you should give them the information they need to be able to do so.

  • XML document content not replaced

    I insert XML documents into iFS using the WebUI via browse. I insert them again after making changes. The new content does not replace the old content. I do not see the new content when viewing the document and search does not find the new content. These documents do not have a type definition and are not parsed. I've tried inserting the new ones after deleting the old ones and I still get the content of the documents that I inserted the first time. Any ideas?

    Hi Greg,
    Did you remember to check Parse File on Upload?
    If yes please forward the XML file and also let me know what version of 9iFS you're using.
    Hanne.

  • TS1717 my itunes is corrupt or not installed correctly.help!

    my itunes is corrpupt or not installed correctly how do i fix this?

    1. Uninstall from Control Panel > Programs
    2. Download from http://www.apple.com/itunes/download/
    3. Run installer (right click and Run As Administrator)
    4. run iTunes as Administrator

  • OSB to SOA suite package not forming correctly

    Setup is as follows:
    AIX 5.3 on the box, 10 gigs ram, installation of the latest releases of OSB and SOA suite on top of weblogic. I've built out a couple of simple database queries in BPEL based off wsdls, dropped them on to the SOA suite server, used EM to open a test console and plugged in some search data. Search returns successfully.
    I then open up OSB's console, create a business service to the endpoint on the soa server, and a proxy based off the same wsdl used in the BPEL construction which I then route to the business service. Both service and proxy are made with basic http for the protocol (not sure how to use the sb protocol, and not sure if that will fix the problem). Load the test console on the proxy service, which displays an xml form similar to what is used in the SOA suite. Fill out the same information, but the invoke returns BEA-380000. Following the invocation trace in OSB everything looks good in terms of package content.
    Wondering if it might simply be a problem with how the OSB interprets XML from a wsdl, I piped the XML from the SOA suite into the OSB's xml field, but to no luck, same error. After some more testing and frustration,I put the SOA suite XML straight in to the form field in the OSB test console, and it worked. However, the package itself seems oddly formed, consisting of:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         </soap:Header>
         <soapenv:Body>
         <soap:Envelope      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header/>
    Which I've been told is basically double wrapping the package, which shouldn't work, and more importantly wont be generated when someone uses say SOAPUI to access our service on the OSB.
    Now, on the SOA suite side of things. In EM console, I navigate to my BPEL process and can see the faults caused by the OSB. The same faults are also generated when binding to the OSB's endpoint with SOAPUI, but not when going directly to the SOA suite's endpoint. The error is the following:
    oracle.j2ee.ws.saaj.soap.SOAPVersionMismatchException: Mime Header Content-Type: text/xml requires SOAP envelope namespace: http://schemas.xmlsoap.org/soap/envelope/: Mime Header Content-Type: text/xml requires SOAP envelope namespace: http://schemas.xmlsoap.org/soap/envelope/
    And the payload sent shows as empty.
    So to my best uneducated guess, it looks like the OSB wraps the payload in an envelope, and then unwraps it before handing it to the SOA suite, which expects the payload to be wrapped. Sadly, I'm still pretty new to the wsdl/webservice/oracle world, so I'm not even sure if that's an accurate representation. Any insight on what might be happening or how to get OSB to talk with SOA suite correctly would be greatly appreciated. Included below are the XML payloads I've used (minus a bit for confidentiality reasons). Apologies if the formatting doesn't work so nice for it.
    OSB Generated (fails):
    SOAP Header:
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    Body:
    <ns2:SyncEmployeeIDRequest xmlns:ns="removed" xmlns:ns1="removed" xmlns:ns2="removed">
    <!--You have a CHOICE of the next 2 items at this level-->
    <ns:PersonIdentificationAssertion>
    <!--Optional:-->
    <ns1:PersonBirthDate>
    <ns1:Date>2008-09-28</ns1:Date>
    </ns1:PersonBirthDate>
    <!--Optional:-->
    <ns1:PersonGivenName>string</ns1:PersonGivenName>
    <ns1:PersonSurName>string</ns1:PersonSurName>
    </ns:PersonIdentificationAssertion>
    <ns1:DepartmentIDText>string</ns1:DepartmentIDText>
    </ns2:SyncEmployeeIDRequest>
    SOA Generated(works if plugged into OSB form field)
    SOAP Header:
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    </soap:Header>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header></soap:Header>
         <soap:Body xmlns:ns1="removed">
              <ns1:SyncEmployeeIDRequest xmlns:ns2="removed">
                   <ns2:PersonIdentificationAssertion xmlns:ns3="removed">
                        <ns3:PersonBirthDate>
                             <ns3:Date>2008-09-28</ns3:Date>
    </ns3:PersonBirthDate>
                        <ns3:PersonGivenName>string</ns3:PersonGivenName>
                        <ns3:PersonSurName>string</ns3:PersonSurName>
    </ns2:PersonIdentificationAssertion>
    </ns1:SyncEmployeeIDRequest>
    </soap:Body>
    </soap:Envelope>
    Working Request Document in OSB:
    <soapenv:Envelope      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         </soap:Header>
         <soapenv:Body>
         <soap:Envelope      xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
         <soap:Header/>
         <soap:Body      xmlns:ns1="removed">
         <ns1:SyncEmployeeIDRequest      xmlns:ns2="removed">
         <ns2:PersonIdentificationAssertion      xmlns:ns3="removed">
         <ns3:PersonBirthDate>
         <ns3:Date>2008-09-28</ns3:Date>
         </ns3:PersonBirthDate>
         <ns3:PersonGivenName/>
         <ns3:PersonSurName>ALastName</ns3:PersonSurName>
         </ns2:PersonIdentificationAssertion>
         </ns1:SyncEmployeeIDRequest>
         </soap:Body>
         </soap:Envelope>
         </soapenv:Body>
         </soapenv:Envelope>
    If I can provide anymore information that will help shed light on this issue please let me know.
    Thank you for your time.
    ~Nick

    Problem solved. When I originally created my business service inside of OSB, I created it based off an endpoint provided by the SOA server. Instead, I went and did a mass import from a url, pointed it at the SOA server wsdl, and then built the web service off of that wsdl resource in the OSB. Now it works like a charm.

  • Document will not print correctly

    I have a Photosmart 3210xi All-in-One. Have had it connected to a desktop and everything prints fine. Recently was provided a laptop (Dell Latitude D505). Connected this up to the printer. Tried printing a document. The print preview looks good, but the document when printed does not. It appears (what little I know) to print out the "computereze"--i.e., all the commands, etc. Yesterday, it printed 8 pages of this before I stopped it.
    How do I get it to print the document correctly?

    Hard Reset – While printer is powered ON, pull
    the power cord from the printer then from the
    wall. After 30 seconds reconnect power to
    wall and printer. This will trigger a ‘dirty power
    up’ and restore the printer to a known good
    condition (if it is possible). No user settings
    are lost with a ‘hard reset’.
    This ‘Hard Reset’ is one of the most powerful
    tools to use when the printer hardware is not
    functioning properly!
    if not resolved, uninstall hp software &
    reinstall using latest  hp software from hp
    website.
    Although I am working on behalf of HP, I am speaking for myself and not for HP.
    Love Kudos! If you feel my post has helped you please click the White Kudos! Star just below my name : )
    If you feel my answer has fixed your problem please click 'Mark As Solution' and make it easier for others to find help quickly : )
    Happy Troubleshooting : )

  • Jpegs not printing correctly - help!

    I just replaced my printer (with the exact same model) and suddenly am having issues with correct color.  I usually create a .pages doc with text and jpegs in them, and they would print out perfectly.  Now when I print, the blue (cyan) is weak where there is a jpeg.  If I create a shape, for example, and make it any color, blue, lavender, green, it's perfect.  But the jpeg is lacking cyan.
    I've tried printing a pdf in my .pages doc and it's identical to the .jpeg.  But blue text or shapes are perfect.
    I've pushed the cyan in the color profile, but it doesn't seem to help much.
    A Color Match RGB helps, but not enough.
    Any other ideas?  I'm pulling my hair out and going through tons of ink!
    Thanks.

    So what did you change besides the printer?
    Did you do this whilst also updating Pages?
    Do test prints of your printer by making up a document with 100% cyan, magenta, yellow and black and various percentage patches, labelling them in your document and see what comes out.
    Make test bars in 10% steps to see what happens from shadow to highlight area.
    RGB gets converted by ColorSync to cmyk when printing, so there maybe a ColorSync issue with the jpegs.
    You didn't say whether it was an inkjet so you could be getting clogged heads or other issues. Even something as simple as new printer new cartridges. Lots of variables.
    Peter

  • XML Template was not working correctly in 11.5.9

    Hi
    I am currently working on XML rtf template for Invoice. And the rtf XML template is working fine (getting results as expected) in 11.5.10 but the same rtf is not working fine in 11.5.9( not getting the results as expected). My current version of XML Publisher in 11.5.9 is 4.5 and in 11.5.10 is 5.6. My question is there any to make the rtf work correctly in 11.5.9 aslo.
    Thanks,
    Ram.

    I have seen such issues earlier. What you can do is to either upgrade xml publisher version or you have to play around with template a bit like adding dummy rows with lines invisible and consume very less space, dummy columns etc to get desired results

  • When sending email from my Mac, Word documents do not send correctly. The recipient cannot open them. Any idea why???

    I have been dealing with this forever. No matter what format I save a Word document in (.doc .docx or whatever else), the recipient (microsoft user) is still not able to open the file in word. Does anyone have any idea why? It's driving me a little nuts.

    Right, I may have misunderstood what you meant by download to desktop. When I click the attachment, I can either "Open with: Text Edit (drop-down menu)" or Save. But save doesn't save to desktop. I can "Open with: Microsoft Word" fine.
    When I compose an email, I click attach. I select the file that is in a .docx format. It appears to load to the email correctly, and if I click that extension, it opens correctly in Word out of the pre-sent email. After being sent, it appears in god knows what format and wishes to open from TextEdit.
    Was I doing something wrong when you wanted me to download to desktop?

  • ICloud document will not open! Help! Please!

    Please help me. I can not open a document (rather large of 12300 words and more!). The only open allowed me is to delete it. Why is this happening? What I do?
    Jim

    Have you tried opening it on your iPad, or through Pages on your computer?

  • Spaces not working correctly, Help!

    Hi all,
    I've just changed to a new mac (not actually new, just new to me) and I'm having problems with Spaces in Snow Leopard 10.6.8.
    I've set various apps - email, web browser etc along with Adobe Creative Suite to open in various spaces so i can easily flick between each of them but for some untold reason Spaces will not keep Adobe Indesign, Illustrstor and Photoshop in Space 1, but whatever Space i'm in rather than the one they are defined to. It does work with Chrome and Outlook however but I know is this not a problem with Adobe as it worked fine on my other Mac, which is also 10.6.8.
    I have no explanantion for this and have removed preferences.plist and that didnt work.
    Any help will be really appreciated. Thanks

    Hi, good you found a temporary solution /workaround.
    Don't know if it's useful to you, but anyway:
    I've read that OSX 10.9 will contain several improvements with spaces and dual monitor setups.
    http://9to5mac.com/2013/04/29/apple-to-update-os-x-with-new-power-user-features- more-from-ios-later-this-year/
    Wether Adobe apps will work well with this new features is another question, as Adobe and Apple are not exactly best friends anymore.
    I'm not an adobe specialist, so maybe somebody else can tune in here and provide tips?

Maybe you are looking for