Problem with build.xml

jdev 11.1.1.6

I have a request for which I created the Application Ant build file (when searching for the task of packing include (deploy uses OJ)).

When I try to run the file with default ant deploy option that I have two files to deploy the file:

1. ojdeploy-construction

2 ojdeploy-statuslog

and deploy ear of bot file created in the folder.

Exception message get however following in the file statuslog:

<? XML version = "1.0"? >

< ojdeploy-Journal >

< deploy task >

< target >

profile <>AIMSAdmin < / profile >

workspace <>/C:/JDeveloper/mywork/AIMS_Admin/AIMSAdmin.jws < / workspace >

< project > ViewController.jpr < / project >

/C:/JDeveloper/mywork/AIMS_Admin/deploy/AIMSAdmin.ear < fichier_resultat > < / fichier_resultat >

< / target >

< exception msg = "== ERROR: no module j2ee detected in the Archives of the EAR." Abandoned deployment. == ">"

<! [CDATA]

oracle.jdeveloper.deploy.VetoableDeployException: == ERROR: no module j2ee detected in the Archives of the EAR. Abandoned deployment. ==

at oracle.jdevimpl.deploy.ear.EarDeployerListener.willDeploy(EarDeployerListener.java:113)

at oracle.jdevimpl.deploy.fwk.ListenerSupport.fireWillDeploy(ListenerSupport.java:198)

at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:88)

at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)

at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)

at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:457)

at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:217)

at oracle.jdevimpl.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:86)

at oracle.jdeveloper.deploy.common.ModulePackager.deployProfiles(ModulePackager.java:63)

at oracle.jdeveloper.deploy.common.ModulePackager.deployImpl(ModulePackager.java:52)

at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)

at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)

at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)

at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)

at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)

at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)

at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)

at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)

at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)

at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:457)

to oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ 1.run(DeploymentManagerImpl.java:315)

[]] >

< / exception >

< status exitcode = "4" > FAILED < / status >

< / deploy task >

< deploy task >

< target >

profile <>AIMS_ADMIN1 < / profile >

workspace <>/C:/JDeveloper/mywork/AIMS_Admin/AIMSAdmin.jws < / workspace >

< project > ViewController.jpr < / project >

/C:/JDeveloper/mywork/AIMS_Admin/deploy/AIMSAdmin.ear < fichier_resultat > < / fichier_resultat >

< / target >

< exception msg = "== ERROR: no module j2ee detected in the Archives of the EAR." Abandoned deployment. == ">"

<! [CDATA]

oracle.jdeveloper.deploy.VetoableDeployException: == ERROR: no module j2ee detected in the Archives of the EAR. Abandoned deployment. ==

at oracle.jdevimpl.deploy.ear.EarDeployerListener.willDeploy(EarDeployerListener.java:113)

at oracle.jdevimpl.deploy.fwk.ListenerSupport.fireWillDeploy(ListenerSupport.java:198)

at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:88)

at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)

at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)

at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:457)

at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:217)

at oracle.jdevimpl.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:86)

at oracle.jdeveloper.deploy.common.ModulePackager.deployProfiles(ModulePackager.java:63)

at oracle.jdeveloper.deploy.common.ModulePackager.deployImpl(ModulePackager.java:52)

at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)

at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)

at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)

at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)

at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)

at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)

at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)

at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)

at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)

at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:457)

to oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl$ 1.run(DeploymentManagerImpl.java:315)

[]] >

< / exception >

< status exitcode = "4" > FAILED < / status >

< / deploy task >

< Summary >

< - > 2014 start time - 06 - 02 10:56:25 EDT < / time >

< end of time > 2014-06-02 10:56:34 EDT < / end times >

< total-tasks > 2 < / total-tasks >

< chess > 2 < / failures >

< status exitcode = "4" > FAILED < / status >

< / Summary >

< / ojdeploy-log >

the ear could be empty... profile for deployment goto properties and verify application modules ee Assembly.

Tags: Java

Similar Questions

  • Eclipse Blackberry plug-in: "run as" problem with build.xml

    Hello

    I use windows 7 (32 bit), Eclipse 3.5 with the blackberry plugin.

    I created a very simple "helloworld" "TestBuild" blackberry project that uses build.xml to build. Here's buildRIM desciption I used in build.xml


      
    jdkhome = "C:\Program Files\Java\jdk1.6.0_20"
    DESTDIR = 'out '.
    output = "TestBuild.
    quiet = "false" >
       
       
    title = "TestBuild" vendor = 'abc '.
    version = "Version = 1.0" description = "My Test Build1"
    arguments = "" systemmodule = 'false' "
    runonstartup = "false" startuptier = "7".
    "RibbonPosition ="0"icon ="... /res/img/TestBuild.png ">
       
       
       
        
         
         
        

       

      
      
       
        
        
        
        
        
            
       

       
      
     

    By right click on build.xml, when I "Debug As"-> remote Java Application, everything works fine.

    However when I do "run as"--> Blackberry app man goes well and called the Simulator, but without the built application.

    In the end, I get this error:

    Packaging project TestBuild
    C:\eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25\components\bin\rapc.exe -quiet codename=deliverables\Standard\5.0.0\TestBuild deliverables\Standard\5.0.0\TestBuild.rapc -sourceroot=C:\Users\Shikha\workspace\TestBuild\src;C:\Users\Shikha\workspace\TestBuild\res -import=C:\eclipse\plugins\net.rim.ejde.componentpack5.0.0_5.0.0.25components\lib\net_rim_api.jar; C:\Users\Shikha\workspace\TestBuild\lib \bb-ant-tools.jar;C:\Users\Shikha\workspace\TestBuild\build.xml C:\Users\Shikha\workspace\TestBuild\bin
    
    I/O Error: error in opening zip file: C:\Users\Shikha\workspace\TestBuild\build.xml
    Packaging project TestBuild failed (took 1.327 seconds)
    

    Please help me!

    Hey thanks for your reply. Yes, indeed, I had added build.xml to build the access road. Thus, even when I have not used build.xml for building application, it still existed in the way of the construction and has caused the problem.

    works fine now.

    Thank you!

  • Problem with parsing XML with html as part of the node content

    Hi all

    I am facing problem with XML parsin when the node has a HTML content, if the node does not have any html content then it works fine. Similar analysis logic works for Java Standard, but not for the Blackberry API. I have an obligation to remove not HTML content prior to analysis. As that would display in the browser.

                              String xml="" +
                    "<p> Dummy content </p> " +
                    "" +
                    "";
                              DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
                DocumentBuilder dBuilder;
                Document doc;
                bis = new ByteArrayInputStream(xml.getBytes("UTF-8")); 
    
                dBuilder = dbFactory.newDocumentBuilder();
    
                doc = dBuilder.parse(bis);
                doc.getDocumentElement().normalize();
    
                NodeList nList = doc.getElementsByTagName("disclaimer");
    
                Element activeTagElmnt = (Element) nList.item(0);
                NodeList activeTag = activeTagElmnt.getChildNodes(); 
    
                tagValue=((Node) activeTag.item(0)).getNodeValue();
                              System.out.println(tagValue); //This prints "<" with HTML content. If i remove HTML then "Dummy Content" is printed
    

    If I need to remove html content, then I would need to reformat the content according to the HTML as the newline to a linebreak.

    Any suggestions would be helpful.

    Thank you

    Sandeep

    I feel xml parser was mature enough to handle these characters if sills, you get the error explore CDATA. It might help you.

  • Problem with Sitemap.XML do not regenerate

    Hello

    I recently built a Web site and I am trying to download my sitemap to google webmaster tools.

    Initially, my Sitemap was showing the wrong pages so I reuploaded the site with all the files.

    I disabled the Sitemap using utilities and I then activated the sitemap. He said it will take a day to the catylist company regenerating the sitemap.

    He was not close to 48 hours and I don't have a sitemap for my site yet-

    http://edenharlow.com/sitemap.XML

    I get the following error

    XML Parsing Error: not well-formed

    Location: http://www.edenharlow.com/sitemap.XML

    Line number 1, column 1: / * not * /.

    ^

    Does anyone have ideas, what the question is here?

    Kind regards

    Callum

    Hi Callum

    I checked the ticket you submitted BC, the ticket is up now and you will get an update soon.

    There seems to be some problem with sitemap.

    Thank you

    Sanjit

  • problems with the XML that is returned when you call a web service with CF11

    Hi, I ran into an unusual behavior when calling web services.

    I call a web service that returns an XML like this:

    < children >

    < child >

    John < firstname > < / name >

    DOE < name > < / lastname >

    < / child >

    < / children >

    during the call to the web service of CF10, it works fine. However, when the CF11, I don't get this:

    < child >

    John < firstname > < / name >

    DOE < name > < / lastname >

    < / child >


    no < child >? for some reason, CF11 ignores / hides the highest level XML. This does not happen on previous versions. Why? the server that hosts the web service's CF11 too.

    Report it as a bug in Coldfusion. In any case, I recommend making sure your web service returns a string, not an XML object.

    This is because a web service must be universal. Appellants to .NET, Java, PHP, ASP and so on, will interpret a chain exactly the same way. Whereas an object XML Coldfusion is a construction that is heard only in CFML.

    Your return string should also start with the XML declaration, like this

    John

    DOE

    So it is clear to the appellant in which brought the cat.

  • problem with import XML CALS table

    HII all

    After you import this xml file, any of the styles are getting applied. What is the problem can anyone please suggest me?

    How can I keep the formatting of the array of client access licenses?

    <? XML version = "1.0" encoding = "UTF-8" standalone = "yes"? >

    " < root xmlns:aid =" http://ns.Adobe.com/AdobeInDesign/4.0/ "xmlns:aid5 =" " http://ns.Adobe.com/AdobeInDesign/5.0/ ">

    " < table reference to the line xmlns:aid5 = ' http://ns.Adobe.com/AdobeInDesign/5.0/ "aid5:tablestyle ="Table Style 1"id ="data-uuid-85c64ce474f44dd29d9a3fa865f904cc"class =" fonts color5 table-b-without personal-tbl-1 "> < legend > < div id ="data-uuid-4298179eea2d4f2d82a32c67b4c9fa0e"class ="enumeration"> table 14.1 < / div > < id p ="data-uuid-d0268f391343450cbab368b1831ff025"class ="caption text-upper case"" > isolating mechanisms < /p > < / legend > < table xmlns:aid = " " http://ns.Adobe.com/AdobeInDesign/4.0/ "xmlns:aid5 =" " http://ns.Adobe.com/AdobeInDesign/5.0/ ' > < tgroup cols = "3" > < colspec colname = "col1" align = "left" / > < colspec colname = "col2" align = "left" / > < colspec colname = "col3" align = "left" / > < tbody > .

    < class rank = "sans-bordure" aid5:cellstyle = "Cell Style 1" > < input id = "data-uuid-ede057eb285543d8a4cbc4d3b565d7ff" colspan = "2" = "col1", "col2" = nameend namest > mechanism < / entry > < input aid5:cellstyle = 'Cell Style 1' id = "data-uuid-e016edb506ee49aea209f19478f4d824" > Description < / entry > < / row >

    < row > < entry class = 'coinciding stripe_light' aid5:cellstyle = 'Cell Style 1' id = "data-uuid-506493f60a084106ae6296aff9216574" colspan = "3" = "col1" = "col3" nameend namest > < b aid: cstyle = "Bold" > < i > pre-Zygotic isolating mechanisms < /i > < / b > < / entry > < / row >

    "< class rank ="coinciding stripe_light"> < input aid5:cellstyle = 'Cell Style 1' id = 'data-uuid-8145412fdb39438095a7197ada7f2115' > < id p 'data-uuid-70e60bc9ad3a4ac291fb620caf081d1d' = > geographic isolation < /p > < / entry > < entry aid5:cellstyle = 'Cell Style 1' id ="data-uuid-9ed825cf49c04082a20168440f46201a"class ="top-align"> < img src =".. /.. "/ img/chapter14/joh24218_ta1419a.png" id = "data-uuid-e6a1f66608b04b26b14692423a7e359f" class = "icon" alt = "" / > < / entry > < entry aid5:cellstyle = "cell Style 1" id = 'data-uuid-0f7976f59c5049b9bacc944ad602e341' > < id p 'data-uuid-0e5db85451dd4885a23c605db00311c5' = > species meet in different areas, which are often separated by a physical barrier such as a river or a mountain. "." < /p > < / entry > < / row >

    "< class rank ="coinciding stripe_light"> < input aid5:cellstyle = 'Cell Style 1' id = 'data-uuid-f5f1fc6665c849a6beebebc2dcca0451' > < id p 'data-uuid-2af394a0735e40d9ab4443e73def9cd1' = > ecological isolation < /p > < / entry > < entry aid5:cellstyle = 'Cell Style 1' id ="data-uuid-fcb4f22194854f2fbde9f015ab979afc"class ="top-align"> < img src =".. /.. «/ img/chapter14/joh24218_ta1419b.png "id ="data-uuid-67b213f9d25a4aa9b6c485a29f7adbc5"class ="icon"alt =" "/ > < / entry > < entry aid5:cellstyle =" cell Style 1 "id = 'data-uuid-026ecfe721b3486b8297cb8488a61aa1' > < id p ="data-uuid-ec1a4beee213488db3355a6533414bbd"> species are found in the same area, but they occupy different habitats."» Survival of the hybrids is low because they are not suited to every environment of their parents. < /p > < / entry > < / row >

    "< class rank ="coinciding stripe_light"> < input aid5:cellstyle = 'Cell Style 1' id = 'data-uuid-42178dda8c6a439cb1be19973c9b4aff' > < id p 'data-uuid-1a5d7da421694a03b0be2a377675b365' = > temporal isolation < /p > < / entry > < entry aid5:cellstyle = 'Cell Style 1' id ="data-uuid-8eff236da2844032bb69976f45b64ae1"class ="top-align"> < img src =".. /.. «/ img/chapter14/joh24218_ta1419c.png "id ="data-uuid-e6a36506d48a47bd9534fc4781a94432"class ="icon"alt =" "/ > < / entry > < entry aid5:cellstyle =" cell Style 1 "id = 'data-uuid-5bd683b850434384bb97c205230977fc' > < id p = 'data-uuid-ccff8d5b8bbd46e9a5e70f3eb107dac6' > species breed throughout the seasons or at different times of the day."» < /p > < / entry > < / row >

    "< class rank ="coinciding stripe_light"> < input aid5:cellstyle = 'Cell Style 1' id = 'data-uuid-bcb00d31536b42d58dbc1abeb721dd8d' > < id p 'data-uuid-8086b5add322409b91f267d79c7c74d9' = > behavioral isolation < /p > < / entry > < entry aid5:cellstyle = 'Cell Style 1' id ="data-uuid-0c5a2a11119a47aa96d47e956ba45f52"class ="top-align"> < img src =".. /.. «/ img/chapter14/joh24218_ta1419d.png "id ="data-uuid-c1c60e0a6ecc477389c3a96ccab64552"class ="icon"alt =" "/ > < / entry > < entry aid5:cellstyle =" cell Style 1 "id = 'data-uuid-54254e285d4e44299937d69b1868a1f1' > < id p ="data-uuid-e5274b4e29544b658fe7aaa6d39da9cb"> species differ in their mating rituals."» < /p > < / entry > < / row >

    "< class rank ="coinciding stripe_light"> < input aid5:cellstyle = 'Cell Style 1' id = 'data-uuid-62aa183214524825a376afc55f5490c7' > < id p 'data-uuid-3a10962b672c4fa4b896e6bee387f3cd' = > mechanical insulation < /p > < / entry > < entry aid5:cellstyle = 'Cell Style 1' id ="data-uuid-5c977123e6214b1bb10373e47860bc96"class ="top-align"> < img src =".. /.. "/ img/chapter14/joh24218_ta1419e.png" id = "data-uuid-822bea6dd64d4badb5bca8cdd51343ec" class = "icon" alt = "" / > < / entry > < entry aid5:cellstyle = "cell Style 1" id = "data-uuid-3a48404d0ccf4231b05bacb311a0bfac" > < id p = "data-uuid-f5f1276a7f8341feb43d3d7d26c03f8a" > prevent the structural differences between the mating species. ". < /p > < / entry > < / row >

    "< class rank ="coinciding stripe_light"> < input aid5:cellstyle = 'Cell Style 1' id = 'data-uuid-488c3da229c44bbcbd251f4a192e0c5c' > < id p 'data-uuid-e141a87c287148bc99e9bfb2879865fd' = > prevention from the fusion of gametes < /p > < / entry > < entry aid5:cellstyle = 'Cell Style 1' id ="data-uuid-b08134eaff11491cbdcd00b25adebc73"class ="top-align"> < img src =".. /.. "/ img/chapter14/joh24218_ta1419f.png" id = "data-uuid-e400f7983e7d4d2591fb84f56214034e" class = "icon" alt = "" / > < / entry > < entry aid5:cellstyle = "cell Style 1" id = 'data-uuid-0148f03041554bc880da2f1c994954b0' > < id p 'data-uuid-378da9e575e146348707abba6e4ea619' = > gamete of a species work poorly with the gametes of another species or within the genitalia of another species. ". < /p > < / entry > < / row >

    < class rank = 'coinciding stripe_light' > < input aid5:cellstyle = 'Cell Style 1' id = "data-uuid-d9873c4599f84de9ac19da0fc440b2a8" colspan = "3" = "col1" = "col3" nameend namest > < b aid: cstyle = "Bold" > < i > mechanisms of isolation postzygotique < /i > < / b > < / entry > < / row >

    "< class rank ="coinciding stripe_light"> < input aid5:cellstyle = 'Cell Style 1' id = 'data-uuid-d4aaddfcdd4c4c67b250d0a2cc9153d1' > < id p 'data-uuid-c6e23322167c4313bd6be5acf1de40a3' = > unsustainability of the hybrids or infertility < /p > < / entry > < entry aid5:cellstyle = 'Cell Style 1' id ="data-uuid-f3362efbf437435e99f1632b5c2b7d8e"class ="top-align"> < img src =".. /.. «/ img/chapter14/joh24218_ta1419g.png "id ="data-uuid-e1ab32a551494b97acceb87a68831f60"class ="icon"alt =" "/ > < / entry > < entry aid5:cellstyle =" cell Style 1 "id = 'data-uuid-bdcd5b643e6d42d59255fa3195ee6107' > < id p = 'data-uuid-f1fdfcd406a844bdb00f16de9a81b270' > hybrid embryos do not develop properly, hybrid adults do not survive in the wild, or hybrid adults are infertile or have reduced fertility."» < /p > < / entry > < / row > < / tbody > < / tgroup > < / table > < / purchase online table > < / root >

    You try to call attributes on a table of client access licenses. As a cal, Indesign tries to draw as a result to the specification of CLIENT access licenses. Do not know a thing about aid attributes: cellstyle.

    So if you want to use these styles in a tahnks tbal of importing xml, you must use a more user-friendly table InDesign XML syntax.

    More details here:

    http://carijansen.com/InDesign-XML-part-2/

    HTH

    Loïc

    http://www.ozalto.com/

  • Problem with large XML files over HTTP segmented analysis

    I am trying to isolate a bug introduced when the JRE in Java 7u51 use 7u71 without changing the codes. The problem seems to be very similar to: Bug ID: JDK-8027359 XML parser returns incorrect results of analysis.

    Further investigation showed that it was also introduced in the same versions (7u71) where this patch has been applied. Unlike this bug, my XML is marked as version 1.0. He also seems to be with only large XML, the order of 10 MB files or more.

    Is the closest I've been able to reduce it down to the code uses JAXB to disrupt a flow which tells me that the debugger is an org.apache.http.com.EofSensorInputStream / org.apache.http.impl.io.ChunkedInputStream. The exception I get is not consistent, but usually appears from pieces are replaced or mixed, with result the letters appearing in the attributes that are actually numbers, or like the following, where an attribute "testAttribute" gets partially crushed by the end of a timestamp that was in another section of the XML file.

    javax.xml.bind.UnmarshalException
    - with linked exception:
    [javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,98748]
    Message: Attribute name "testAttribu00Z" associated with an element type "testElement" must be followed by the ' = ' character.]
      at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:421)
      at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:357)
      at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:334)
    Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,98748]
    Message: Attribute name "testAttribu00Z" associated with an element type "testElement" must be followed by the ' = ' character.
      at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:598)
      at com.sun.xml.internal.bind.v2.runtime.unmarshaller.StAXStreamConnector.bridge(StAXStreamConnector.java:181)
      at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:355)
      ... 6 more
    
    
    

    A code here which seems to reproduce if you can connect to an XML server that returns a large segmented XML file:

      SchemeRegistry registry = new SchemeRegistry();
      registry.register(
                    new Scheme("http", 80, PlainSocketFactory.getSocketFactory()));
      HttpClient client = new DefaultHttpClient(new BasicClientConnectionManager(registry));
      String url = "http://someUrlReturningAlargeChunkedXML";
      HttpGet method = new HttpGet(url);
      HttpResponse response = client.execute(method);
    
      InputStream inputStream = response.getEntity().getContent();
    
      XMLStreamReader responseReader = factory.createXMLStreamReader(inputStream);
      JAXBElement<JaxBObjectOfResponse> wot = unmarshaller.unmarshal(responseReader, JaxBObjectOfResponse.class);
    
    
    

    There is no error if you connect using URL.openStream () to the same service. If I read bytes directly and write to a file, there is no error. The error occurs only when I try to disrupt it is great and I use Java 7u71 (or later). It can be constantly repeated with the jsp webapp I use, but did not show the error when I used the same code with a Wikipedia dump XML file.

    How can I unmarshal differently to avoid this problem? Or, how can I best isolate the bug so it can be sent to the appropriate bugs system?

    Seems to be related to this bug, which will be fixed in 7u80 and others (in April?).

    http://bugs.Java.com/bugdatabase/view_bug.do?bug_id=8059327

    Tests with the final version in early 7u80 showed it fixed my related question.

  • What is the problem with my XML?

    Argh... I tried to get this properly loaded XML and am having some problems.  I can get the loaded xml but its not really works as an xml. For example, I can't specific legend entries by referencing the line number.  I also assign some listeners in a loop in reference to this xml document and I am unable to the attributes of the query on its length, etc...

    can we see something that I am missing with its structure?

    I load it using

    load the XML for the bike trails
    var bktrlLoader:URLLoader = new URLLoader();
    var bktrlXml:XML = new XML();
    bktrlLoader.addEventListener (Event.COMPLETE, LoadbktrlXML);
    bktrlLoader.load (new URLRequest ("biketrails.xml"));
    function LoadbktrlXML(e:Event):void {}
    bktrlXml = new XML (e.target.data);
    createListenersbk();
    bktrlXml.ignoreWhite = true;
    }

    Here is the actual xml code

    <? XML version = "1.0" encoding = "UTF-8" standalone = "yes"? >
    " < document xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance ">
    < row >
    the albino Lake < NAME > < / NAME >
    < MILES > 2.872152 < / MILES >
    the Albino Lake < name2 > < / name2 >
    < IDNUM > 1 < / IDNUM >
    < A > < /A >
    A1 < idlink > < / idlink >
    < / row >
    < row >
    Bighorn < NAME > < / NAME >
    < MILES > 7.503786 < / MILES >
    Bighorn < name2 > < / name2 >
    < IDNUM > 2 < / IDNUM >
    < A > < /A >
    < idlink > a2 < / idlink >
    < / row >
    < row >
    Bozeman Creek < NAME > < / NAME >
    < MILES > 9.320904 < / MILES >
    Bozeman Creek < name2 > < / name2 >
    < IDNUM > 3 < / IDNUM >
    < A > < /A >
    < idlink > a3 < / idlink >
    < / row >
    < row >
    Buck < NAME > < / NAME >
    < MILES > 8.286381 < / MILES >
    Buck < name2 > < / name2 >
    < IDNUM > 4 < / IDNUM >
    < A > < /A >
    < idlink > a4 < / idlink >
    < / row >
    < row >
    < NAME > Cabin Creek < / NAME >
    < MILES > 5.05901 < / MILES >
    Creek Cabin < name2 > < / name2 >
    < IDNUM > 5 < / IDNUM >
    < A > < /A >
    A5 < idlink > < / idlink >
    < / row >
    < row >
    carrot juice < NAME > < / NAME >
    < MILES > 4.708917 < / MILES >
    carrot juice < name2 > < / name2 >
    < IDNUM > 6 < / IDNUM >
    < A > < /A >
    < idlink > a6 < / idlink >
    < / row >
    < row >
    < NAME > chestnut Ridge < / NAME >
    < MILES > 7.283182 < / MILES >
    < name2 > chestnut Ridge < / name2 >
    < IDNUM > 7 < / IDNUM >
    < A > < /A >
    A7 < idlink > < / idlink >
    < / row >
    < row >
    cinnamon < NAME > < / NAME >
    < MILES > 3.9116 < / MILES >
    Cinnamon < name2 > < / name2 >
    < IDNUM > 8 < / IDNUM >
    < A > < /A >
    < idlink > a8 < / idlink >
    < / row >
    < row >
    Donahue < NAME > < / NAME >
    < MILES > 12.6701 < / MILES >
    Donahue < name2 > < / name2 >
    < IDNUM > 9 < / IDNUM >
    < A > < /A >
    A9 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > Dry Creek < / NAME >
    < MILES > 10.5551 < / MILES >
    < name2 > Dry Creek < / name2 >
    < IDNUM > 10 < / IDNUM >
    < A > < /A >
    A10 < idlink > < / idlink >
    < / row >
    < row >
    Elkhorn < NAME > < / NAME >
    < MILES > 7.208245 < / MILES >
    Elkhorn < name2 > < / name2 >
    < IDNUM > 11 < / IDNUM >
    < A > < /A >
    A11 < idlink > < / idlink >
    < / row >
    < row >
    Emerald Lake < NAME > < / NAME >
    < MILES > 5.032826 < / MILES >
    Emerald Lake < name2 > < / name2 >
    < IDNUM > 12 < / IDNUM >
    < A > < /A >
    A12 < idlink > < / idlink >
    < / row >
    < row >
    Yellow Mule first < NAME > < / NAME >
    < MILES > 5.203109 < / MILES >
    First yellow Mule < name2 > < / name2 >
    < IDNUM > 13 < / IDNUM >
    < A > < /A >
    A13 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > FS Trail 6 < / NAME >
    < MILES > 8.803965 < / MILES >
    F.S. path < > 6 name2 < / name2 >
    < IDNUM > 14 < / IDNUM >
    < A > < /A >
    A14 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > FS Trail 8 < / NAME >
    < MILES > 6.236985 < / MILES >
    F.S. path < > 8 name2 < / name2 >
    < IDNUM > 15 < / IDNUM >
    < A > < /A >
    A15 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > Goose Creek < / NAME >
    < MILES > 2.160362 < / MILES >
    < name2 > Goose Creek < / name2 >
    < IDNUM > 16 < / IDNUM >
    < A > < /A >
    A16 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > fracture hidden < / NAME >
    < MILES > 12.0553 < / MILES >
    Hidden ditch < name2 > < / name2 >
    < IDNUM > 17 < / IDNUM >
    < A > < /A >
    A17 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > Rock History < / NAME >
    < MILES > 4.840378 < / MILES >
    Rock history < name2 > < / name2 >
    < IDNUM > 18 < / IDNUM >
    < A > < /A >
    A18 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > hood Creek < / NAME >
    < MILES > 3.374411 < / MILES >
    Creek hood < name2 > < / name2 >
    < IDNUM > 19 < / IDNUM >
    < A > < /A >
    A19 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > Hyalite Creek < / NAME >
    < MILES > 4.866342 < / MILES >
    Hyalite Creek < name2 > < / name2 >
    < IDNUM > 20 < / IDNUM >
    < A > < /A >
    A20 < idlink > < / idlink >
    < / row >
    < row >
    Kirkwood < NAME > < / NAME >
    < MILES > 5.737488 < / MILES >
    Kirkwood < name2 > < / name2 >
    < IDNUM > 21 < / IDNUM >
    < A > < /A >
    A21 < idlink > < / idlink >
    < / row >
    < row >
    Leverich < NAME > < / NAME >
    < MILES > 3.271486 < / MILES >
    Leverich < name2 > < / name2 >
    < IDNUM > 22 < / IDNUM >
    < A > < /A >
    A22 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > small Elk < / NAME >
    < MILES > 6.239992 < / MILES >
    < name2 > small Elk < / name2 >
    < IDNUM > 23 < / IDNUM >
    < A > < /A >
    A23 < idlink > < / idlink >
    < / row >
    < row >
    Lizard Lake < NAME > < / NAME >
    < MILES > 6.950101 < / MILES >
    Lizard Lake < name2 > < / name2 >
    < IDNUM > 24 < / IDNUM >
    < A > < /A >
    A24 < idlink > < / idlink >
    < / row >
    < row >
    Marble point < NAME > < / NAME >
    < MILES > 5.0717 < / MILES >
    Marble point < name2 > < / name2 >
    < IDNUM > 25 < / IDNUM >
    < A > < /A >
    A25 < idlink > < / idlink >
    < / row >
    < row >
    Elk Minnie < NAME > < / NAME >
    < > 10.81 MILES < / MILES >
    Elk Minnie < name2 > < / name2 >
    < IDNUM > 26 < / IDNUM >
    < A > < /A >
    A26 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > mount Blackmore < / NAME >
    < MILES > 4.404009 < / MILES >
    Blackmore Mont < name2 > < / name2 >
    < IDNUM > 27 < / IDNUM >
    < A > < /A >
    A27 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > mount Hebgen < / NAME >
    < MILES > 5.366428 < / MILES >
    Hebgen Mont < name2 > < / name2 >
    < IDNUM > 28 < / IDNUM >
    < A > < /A >
    A28 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > Mystic Lake < / NAME >
    < MILES > 5.302215 < / MILES >
    Mystic Lake < name2 > < / name2 >
    < IDNUM > 29 < / IDNUM >
    < A > < /A >
    A29 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > new world Gulch < / NAME >
    < MILES > 6.73468 < / MILES >
    New Gulch world < name2 > < / name2 >
    < IDNUM > 30 < / IDNUM >
    < A > < /A >
    A30 < idlink > < / idlink >
    < / row >
    < row >
    Oil road < NAME > < / NAME >
    < MILES > 8.433468 < / MILES >
    Oil road < name2 > < / name2 >
    < IDNUM > 31 < / IDNUM >
    < A > < /A >
    A31 < idlink > < / idlink >
    < / row >
    < row >
    Porcupine < NAME > < / NAME >
    < MILES > 7.029801 < / MILES >
    Porcupine < name2 > < / name2 >
    < IDNUM > 32 < / IDNUM >
    < A > < /A >
    A32 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > Red Canyon < / NAME >
    < MILES > 4.498202 < / MILES >
    Red Canyon < name2 > < / name2 >
    < IDNUM > 33 < / IDNUM >
    < A > < /A >
    A33 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > red Cub < / NAME >
    < MILES > 6.974215 < / MILES >
    < name2 > red Cub < / name2 >
    < IDNUM > 34 < / IDNUM >
    < A > < /A >
    A34 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > second yellow Mule < / NAME >
    < MILES > 9.937432 < / MILES >
    Second yellow Mule < name2 > < / name2 >
    < IDNUM > 35 < / IDNUM >
    < A > < /A >
    A35 < idlink > < / idlink >
    < / row >
    < row >
    Skyline Ridge < NAME > < / NAME >
    < MILES > 8.056571 < / MILES >
    Skyline Ridge < name2 > < / name2 >
    < IDNUM > 36 < / IDNUM >
    < A > < /A >
    A36 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > Slide Creek < / NAME >
    < MILES > 6.068263 < / MILES >
    Creek Slide < name2 > < / name2 >
    < IDNUM > 37 < / IDNUM >
    < A > < /A >
    a37 < idlink > < / idlink >
    < / row >
    < row >
    Cottonwood South < NAME > < / NAME >
    < MILES > 12.4463 < / MILES >
    Cottonwood South < name2 > < / name2 >
    < IDNUM > 38 < / IDNUM >
    < A > < /A >
    A38 < idlink > < / idlink >
    < / row >
    < row >
    Spur South Cottonwood < NAME > < / NAME >
    < MILES > 1.961527 < / MILES >
    Spur South Cottonwood < name2 > < / name2 >
    < IDNUM > 39 < / IDNUM >
    < A > < /A >
    A39 < idlink > < / idlink >
    < / row >
    < row >
    Castle of storm < NAME > < / NAME >
    < MILES > 6.715864 < / MILES >
    Castle of storm < name2 > < / name2 >
    < IDNUM > 40 < / IDNUM >
    < A > < /A >
    A40 < idlink > < / idlink >
    < / row >
    < row >
    EPI fork taylor < NAME > < / NAME >
    < MILES > 3.211239 < / MILES >
    EPI Taylor fork < name2 > < / name2 >
    < IDNUM > 41 < / IDNUM >
    < A > < /A >
    A41 < idlink > < / idlink >
    < / row >
    < row >
    < NAME > Tepee Creek < / NAME >
    < MILES > 8.475374 < / MILES >
    Creek tipi < name2 > < / name2 >
    < IDNUM > 42 < / IDNUM >
    < A > < /A >
    A42 < idlink > < / idlink >
    < / row >
    < row >
    Wheeler < NAME > < / NAME >
    < MILES > 11.9385 < / MILES >
    Wheeler < name2 > < / name2 >
    < IDNUM > 43 < / IDNUM >
    < A > < /A >
    A43 < idlink > < / idlink >
    < / row >
    < row >
    Wildhorse < NAME > < / NAME >
    < MILES > 1.671387 < / MILES >
    Wildhorse < name2 > < / name2 >
    < IDNUM > 44 < / IDNUM >
    < A > < /A >
    A44 < idlink > < / idlink >
    < / row >
    < / document >


    If you only display what is working, it is difficult to tell you what you could do wrong.  Try to add the following lines at the end of your LoadbktrlXML function and see if all the lights...

    trace (bktrlXml.Row.length ());
    trace(bktrlXml.Row[0].) (Name)
    trace (bktrlXml.Row [bktrlXml.Row.length () - 1]. (Name)

  • &amp; lt; MX:HTTPService &amp; gt; problem with SSRS XML URL

    I use flex to create a dashboard application form, a Microsoft Reporting Service. The problem is that the URL to generate the xml file contains rs: Command = Render & rs: Format = xml. I get an error using the URL in the < mx:HTTPService > tags. «The reference to entity "rs: Command" must end with the separator «;»» »

    How do you get around this issue.

    solution...

    var params: Object = new Object();
    params ["rs: Command '] = 'show ';
    params ["rs: Format '] = 'xml ';

  • Problem with Connections.xml

    Hello

    I have a UI project, for which I created a profile of deployment named "adfXXXXXUI" nothing but created an adflibrary for that user interface project.

    While creating the jar from the adf, I came across an Option called "Connections".

    Here I chose logins only... means I will get all the names of the connections, I created & those who will be included in my file local connection.xml.

    After you set up the rest of the params, I deployed my UI project to "deploy-> adfXXXXXUI.jar '.

    And we used this pot to be integrated into another application UI... And the avilable taskflows in the jar will be used in the other user interface application.

    Now, here's my problem... In fact my connections.xml file has a connection to the URL. This is what it looks like...
    <? XML version = "1.0" encoding = "UTF - 8"? >
    " < reference xmlns =" " http://xmlns.Oracle.com/ADF/JNDI " >
    > < reference name = 'MapServer"className =" oracle.adf.model.connection.url.HttpURLConnection "xmlns =" ">
    > < factory className="oracle.adf.model.connection.url.URLConnectionFactory"/ >
    > < RefAddresses >
    > < XmlRefAddr addrType = "MapServer" >
    > < content >
    > < urlconnection name = 'MapServer' url = ' http://sbsys1.intra.schneider.com:8109 / mapviewer "/ >
    > < / Summary >
    > < / XmlRefAddr >
    > < / RefAddresses >
    > < / reference >
    > < reference name = "snibuilddb" className = "oracle.jdeveloper.db.adapter.DatabaseProvider" credentialStoreKey = "snibuilddb" xmlns ="" > "
    > < factory className="oracle.jdeveloper.db.adapter.DatabaseProviderFactory"/ >
    > < RefAddresses >
    > < Subtype StringRefAddr addrType = "" >
    > < content > oraJDBC < / summary >
    > < / StringRefAddr >
    > < StringRefAddr addrType = "user" >
    > < content > sni_guest < / summary >
    > < / StringRefAddr >
    > < StringRefAddr addrType 'port' = >
    > < content > 3720 < / summary >
    > < / StringRefAddr >
    > < StringRefAddr addrType = "hostname" >
    > < content > uxsys186v < / summary >
    > < / StringRefAddr >
    > < SecureRefAddr addrType = "password" / >
    > < StringRefAddr addrType = "serviceName" >
    > < content > snit0.world < / summary >
    > < / StringRefAddr >
    > < StringRefAddr addrType = "DeployPassword" >
    > < content > true < / table of contents >
    > < / StringRefAddr >
    > < StringRefAddr addrType = "oraDriverType" >
    > < content > thin < / summary >
    > < / StringRefAddr >
    > < / RefAddresses >
    > < / Reference > <
    / References >
    all taskflows accessible to the general public in my jar using the connection to the URL mentioned above. But the pot of adflibray was created with a file named ' jar - connection.xml', where I see < reference / > as a tag empty.» Because I chose the name of connections only option when creating the adflibrary for my UI.

    This is why it appears so... But when I added this pot to the other application, I slipped and dropped the taskflows as a region on the page JSPX. And I started to run the page. On the page... I see that data which does not make use of MapServer defiition connection. Along with this, some cards needs made... but that does not happen. Rest of the page with the filter criteria is displayed correctly.

    Now, I've selected include the details of connection optionally, by modifying the deployment of the UI adfLibrary & dispatched profile and find the same thing. As, although I specify the connection details include as an option... I didn't know the details of login URL in my jar file - connection.xml. Still, it does not work.

    All taskflows inside the jar are trying to use this connection to jar URL - connection.xml, which is available within the adfLibUI.jar.

    I tried with a scenorio something like... For the application to which I added this adfUILibrary, he himself, I created a URLConnection... but it has not worked as well.

    Asking you to let me know how can I avail of my connection to URL in my jar...

    Thank you and best regards,
    Kiran kristelle

    This could be a known issue. Try this:
    -Copy the file web.xml entries related to the initial project map and put them in the Web.XML of the project where you use the library
    -In the next version of the map should not be used the web.xml file and will use the ADF settings that will properly when the card is used through a library

  • Problems with importing XML of the FCP 7 to Premiere Pro CS6

    Afternoon everyone.

    I am currently trying to import an FCP 7 project I want now, edit and tweak in Premiere Pro (have recently realized I am using first a lot more so want to start earning a full switch).

    I put together my project initial of the FCP and exported via XML (Apple Interchange Format, Version 5) and imported into an empty Premiere Pro project. However it comes to import window is progressing well at 100% and then throws this error message me, and I can't understand why.

    Screen Shot 2013-01-07 at 14.56.13.png

    I tried to export an XML file for the entire project, with all the bins/sequences/clips, etc. I also tried individual sequences/containers, and none of them want to import.

    Anyone know why this is happening?

    Thank you

    Adam

    Start here:

    FAQ: Why some codecs and sequence presets missing my Premiere Pro installation?

    If this is not resolved, report back.

  • Funny problem with generating xml looks like table.

    Hello
    I have the following problem:

    1.I has table:
    CREATE TABLE DESCRIPTION
    (
    NUMBER OF DESC_ID
    SK VARCHAR2 (500 BYTE),
    OF VARCHAR2 (500 BYTE).
    EN VARCHAR2 (500 BYTE)
    )

    2.I need to create an xml looks like:

    < "NODE1" >
    < "NODE2" >
    data column < /de > < >
    column < www.tourocloudbackup.com > < en > data
    given < sk > column < /sk > sk
    < / "NODE2" >
    < / "NODE1 >"

    where "PAR1" and "PAR2" is CASE-SENSITIVE SETTING of RESPECT.

    3. I create for that to be the next function:


    CREATE or REPLACE FUNCTION F_CREATE_XML_DESC (inDescId, NUMBER of)
    inNode1 VARCHAR2,
    inNode2 VARCHAR2)
    RETURN OF XMLTYPE
    IS
    tmpVar NUMBER;
    /******************************************************************************


    ******************************************************************************/
    vXml XMLTYPE.

    CTX DBMS_XMLGEN.ctxHandle;
    vColumnList VARCHAR2 (1000);
    vXmlStr VARCHAR2 (1000);

    BEGIN


    If (inDescId is not null) then
    SELECT SUBSTR (list) of LENGTH (list) - 1, 1,
    IN vColumnList
    FROM (SELECT (LISTAGG (COLUMN_NAME |))) ',')
    TO WITHIN THE GROUP (ORDER OF COLUMN_NAME))
    As a list
    Of user_tab_columns
    WHERE table_name = 'DESCRIPTION' AND COLUMN_NAME <>'DESC_ID');


    CTX: =.
    DBMS_XMLGEN.
    NewContext)
    "select".
    || vColumnList
    || "description d where d.desc_id ='".
    || inDescId);

    on the other
    -yesterday to return null if DESC_ID is null
    Returns a null value.

    SELECT SUBSTR (list) of LENGTH (list) - 1, 1,
    IN vColumnList
    FROM (SELECT (LISTAGG ("'"' |))) "ACE" | COLUMN_NAME | ' ,')
    TO WITHIN THE GROUP (ORDER OF COLUMN_NAME))
    As a list
    Of user_tab_columns
    WHERE table_name = 'DESCRIPTION' AND COLUMN_NAME <>'DESC_ID');

    CTX: =.
    DBMS_XMLGEN.
    NewContext)
    "select".
    || vColumnList
    || "of the double");


    end if;

    -DBMS_XMLGEN.setRowSetTag (ctx, inNode1);
    DBMS_XMLGEN.setRowTag (ctx, 'NŒUD');
    DBMS_XMLGEN. SETNULLHANDLING (ctx, 2);

    -I DON'T KNOW WHY THIS DOESN'T WORK!
    -DBMS_XMLGEN.useLowerCaseTagNames ();


    vXmlStr: low = (DBMS_XMLGEN.getxml (ctx));

    DBMS_XMLGEN. CLOSECONTEXT (ctx);

    If (inNode1 is not null and)
    inNode2 is not null) then

    Select xmlelement (EVALNAME (inNode1),
    XmlElement (EVALNAME (inNode2),
    Extract (XmlType (vXMLStr), '//node/*')))
    in vXml
    Double;
    end if;

    If (inNode1 is null and)
    inNode2 is not null) then

    Select xmlelement (EVALNAME (inNode2),
    Extract (XmlType (vXMLStr), '//node/*'))
    in vXml
    Double;
    end if;


    If (inNode1 is not null and)
    inNode2 is null) then

    Select xmlelement (EVALNAME (inNode1),
    Extract (XmlType (vXMLStr), '//node/*'))
    in vXml
    Double;
    end if;



    VXML BACK;
    END F_CREATE_XML_DESC;
    /


    4 Requriments:
    If I add the new column to the table Description the XML should include this new column.
    Problem is a RESPECT for the CASE, the table tags MUST be LOWER case, and of course without column DESC_ID, BUT the two NODE1 and NODE2 SHOULD be case-sensitive.

    5. function whihch I cooked up in my opinion is not fast enough. IS THERE a SOLUTION to make this better? Help, please.

    6 DB: Oracle 11 g R2.

    Edited by: kozand 2011-06-26 05:06

    Hello

    -I DON'T KNOW WHY THIS DOESN'T WORK!
    -DBMS_XMLGEN.useLowerCaseTagNames ();

    I don't see in the package specification.

    I'm not a big fan of this but you can try the following solutions:

    SQL> DECLARE
      2
      3   inNode1      varchar2(30) := 'NODE1';
      4   inNode2      varchar2(30) := 'NODE2';
      5   inDescId     number := 1;
      6
      7   colList      varchar2(4000);
      8
      9   xml_data     xmltype;
     10   doc          clob;
     11
     12  BEGIN
     13
     14   SELECT listagg(column_name || ' as "' || lower(column_name) || '"', ',') within group (order by column_name)
     15   INTO colList
     16   FROM user_tab_columns
     17   WHERE table_name = 'DESCRIPTION'
     18   AND column_name != 'DESC_ID';
     19
     20   EXECUTE IMMEDIATE 'SELECT XMLForest(' || colList || ') FROM description WHERE desc_id = :1'
     21   INTO xml_data
     22   USING inDescId;
     23
     24   SELECT nvl2( inNode1
     25              , XMLElement(evalname(inNode1), xml_data)
     26              , xml_data )
     27   INTO xml_data
     28   FROM (
     29     SELECT nvl2( inNode2
     30                , XMLElement(evalname(inNode2), xml_data)
     31                , xml_data ) as xml_data
     32     FROM dual
     33   );
     34
     35   dbms_output.put_line(xml_data.getclobval());
     36
     37  END;
     38  /
    
    data from column dedata from column endata from column sk
    
    PL/SQL procedure successfully completed
     
    

    Or a single XQuery:

    SQL> show user
    User is "dev"
    
    SQL>
    SQL> SELECT XMLSerialize(document
      2    XMLQuery(
      3      'let $data :=
      4         for $i in fn:collection("oradb:/DEV/DESCRIPTION")/ROW
      5         where $i/DESC_ID = $id
      6         return
      7           for $j in $i/child::*
      8           let $node-name := name($j)
      9           where $node-name != "DESC_ID"
     10           return element {fn:lower-case($node-name)} {fn:data($j)}
     11       let $node2 := if ($inNode2) then element {$inNode2} {$data} else ($data)
     12       return if ($inNode1) then element {$inNode1} {$node2} else ($node2)'
     13      passing cast(1 as number) as "id"
     14            , 'NODE1' as "inNode1"
     15            , 'NODE2' as "inNode2"
     16      returning content
     17    )
     18    as clob indent
     19  )
     20  FROM dual
     21  ;
    
    XMLSERIALIZE(DOCUMENTXMLQUERY(
    --------------------------------------------------------------------------------
    
      
        data from column sk
        data from column de
        data from column en
      
    
     
    
  • Problem with accessing XML children

    Hi all
    I have a huge problem that has been bothering me for the past few hours... it drives me nuts in fact...
    below my code and a screenshot of what I mean exactly... I tried to keep it as short as possible

    Basically when I try to access a subnode (a.project.name in this example) XML, flex does not seem to do anything.
    as you can see b should be "Project1". Instead, it's only a variable initialized XMLList, nothing more...
    normally, everything works without problems... the only difference in my current situation to 'normally' which is the main XML where everything is derived is sitting in an external class.
    However, I can access it when filling a tree control for example so no problem there...
    problems begin when I try to 'dig deeper '...

    I know my way around e4x and may exclude any data type of problems etc...

    http://I32.Tinypic.com/eg8wtw.PNG

    I'm about to pull my hair! Please someone help me ^^ thanks in advance

    'a' is probably already in the 'project '.

    make: trace (a.toXMLString ()); to check

    I suspect you will want to just:
    var b:XMLList = b.SID;

    All the e4x expressions etourner an XMLList, it's just empty the apppropriate isn't fair.

    Tracy

  • problem with parentheses (XML) operator

    I have the code folowwing (just a simple example, modification of the documentation)

    The difference is that only fifth XML element has no attribute @publisher.

    ReferenceError is thrown "ReferenceError: Error #1065: Variable @publisher is not defined."

    Is this normal? Or is it a bug?

    "_Natasha_" wrote in message
    News:gqdupk$DO0$1@forums. Macromedia.com...
    > It works without errors, but the output is empty.
    >
    > The question was: all consider this error as usual? And so we cannot use
    > code
    > as
    > var results: XMLList = books.book. (@publisher); to get only the elements
    > with the attribute Editor?

    This error is normal when using the syntax you used.

    If you don't want to get this error, try

    results: XMLList = books.book.attribute('publisher');

    Note that will give you all the attributes of the editor, as your above
    the syntax would be. If you want that all the nodes has a publisher attribute, you
    need something more like:

    . Books.book (attribute('publisher').length () > 0);

    HTH;

    Amy

  • Problem with the XML encoding when displayed

    I had decided to use XML file instead of a database because the customer did not have a database is the web hosting package. But I have a weird problem where the information is not well displayed but they are well received! The french characters using client that the site is in french and English and special characters outside the first 128 characters of ASCII is not displayed correctly. I don't know exactly what to do at this level where the XML file is perfect (and I can see the special characters correctly). I tried to use the CFPROCESSINGDIRECTIVE but it did nothing for the correct display.

    If anyone has an idea while I'm looking always thought that the web something to solve this problem, please let me know.

    Here's an example of what I'm talking about:

    "Sled" is displayed "Traa® neau.

    I found out why! The original XML file has been modified manually and it screw the file for some reason any. When you use the process of creating the XML file and to use it after as it was created, all special characters are displayed correctly.

    In conclusion, never manually edit your XML file! ;-))

Maybe you are looking for

  • iPad 2 do not sync

    PAD 2 with the latest iOS 9.3.2 software syncs with my Mac mini, small symbol swirls around on the Mac mini and said top pending synchronization start, but the iPad is not responding at all the computer asked me if I wanted to remove the last synchro

  • Why can't open my avi files?

    I use classic windows media to open my files and it won't open them now. I tried to click just opened but which doesn't work either. Anyone know how I can fix this please?

  • I have a problem downloading of updates. Windows Update seems to work very well, but never actually, it connects and downloads all the files.

    What happens on my Windows 7 box and a box of Vista, so I think that the problem is a little wider than just the operating system.I have a resolution that really is not fine with me, that turns the firewall while I download updates. I tried to add pr

  • error code 646 and 643 when you perform an upgrade to windows.

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: You have problems with programs Error messages Recent changes to your computer What you have already tried to solve the problem

  • MS Word - synonymous disappeared - help!

    I use the synonym feature in MS Word often and rely on it to make my sound documents a little smarter I really am.  Since the beginning of this week, I have not been able to view synonyms in Word or Outlook.  I used the same sentence as a test on dif