Error XML of topology

Hello

I created below xsd

<? XML version = "1.0" encoding = "windows-1252"? >

" < xsd: Schema container = ' http://www.w3.org/2001/XMLSchema "

" targetNamespace = ' http://www.xyz.com/EMP "

' xmlns:tns = ' http://www.xyz.com/EMP "

elementFormDefault = "qualified" >

< xsd: element name = "employeesX" >

< xsd: complexType >

< xsd: SEQUENCE >

< xsd: element name = "employeeX" maxOccurs = "unbounded" >

< xsd: complexType >

< xsd: SEQUENCE >

< xsd: element name = "FirstName" type = "xsd: String" / >

< xsd: element name = "name" type = "xsd: String" / >

< xsd: element name = "email" type = "xsd: String" / >

< / xsd: SEQUENCE >

< xsd: attribute name = "empid" type = "xsd: int" / >

< / xsd: complexType >

< / xsd: element >

< / xsd: SEQUENCE >

< / xsd: complexType >

< / xsd: element >

< / xsd: Schema >

ODI, topology, the physical Architecture, jdbc url is

JDBC:SNPs:XML? f = D: / odi/Oracle to xml load/emp5.xml & d = D: / odi/Oracle to xml load/emp5.xsd & re = employeesX & s = EMPX5

To test the connection, I get the following error

java.sql.SQLException: class java.sql.SQLException

Oracle.Xml.Parser.v2.XMLParseException: start of the element root waited.

at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:133)

at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)

at com.sunopsis.sql.SnpsConnection.testConnection(SnpsConnection.java:1125)

at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.getLocalConnect(SnpsDialogTestConnet.java:163)

to com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$ 4 (SnpsDialogTestConnet.java:159)

to com.sunopsis.graphical.dialog.SnpsDialogTestConnet$ 4.doInBackground(SnpsDialogTestConnet.java:519)

to com.sunopsis.graphical.dialog.SnpsDialogTestConnet$ 4.doInBackground(SnpsDialogTestConnet.java:1)

at oracle.odi.ui.framework.AbsUIRunnableTask.run(AbsUIRunnableTask.java:258)

at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)

at java.lang.Thread.run(Thread.java:662)

Caused by: java.sql.SQLException: class java.sql.SQLException

Oracle.Xml.Parser.v2.XMLParseException: start of the element root waited.

at com.sunopsis.jdbc.driver.xml.SnpsXmlFile.readDocument(SnpsXmlFile.java:464)

at com.sunopsis.jdbc.driver.xml.SnpsXmlFile.readDocument(SnpsXmlFile.java:474)

at com.sunopsis.jdbc.driver.xml.SnpsXmlFile.synchronizeFromFile(SnpsXmlFile.java:649)

to com.sunopsis.jdbc.driver.xml.SnpsXmlFile. < init > (SnpsXmlFile.java:117)

to com.sunopsis.jdbc.driver.xml.SnpsXmlSchema. < init > (SnpsXmlSchema.java:498)

at com.sunopsis.jdbc.driver.xml.SnpsXmlSchemaManager.createNewSchema(SnpsXmlSchemaManager.java:296)

at com.sunopsis.jdbc.driver.xml.SnpsXmlSchemaManager.getSchemaFromProperties(SnpsXmlSchemaManager.java:273)

at com.sunopsis.jdbc.driver.xml.SnpsXmlDriver.connect(SnpsXmlDriver.java:116)

at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:410)

at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:386)

at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:353)

at oracle.odi.jdbc.datasource.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:332)

at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:99)

at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)

at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter.getConnection(OnConnectOnDisconnectDataSourceAdapter.java:74)

to oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter$ ConnectionProcessor.run (LoginTimeoutDatasourceAdapter.java:217)

to java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:441)

to java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)

at java.util.concurrent.FutureTask.run(FutureTask.java:138)

to java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)

to java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)

... 1 more

Caused by: java.sql.SQLException: oracle.xml.parser.v2.XMLParseException: start of the element root waited.

at com.sunopsis.jdbc.driver.xml.data.SnpsXmlLoader.loadFile(SnpsXmlLoader.java:293)

at com.sunopsis.jdbc.driver.xml.SnpsXmlFile.readDocument(SnpsXmlFile.java:460)

... 21 more

Caused by: oracle.xml.parser.v2.XMLParseException: start of the element root waited.

at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)

at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:447)

at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:388)

at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:232)

at oracle.odi.jdbc.driver.xml.io.impl.XmlFileInputPipelineStage.provideInput(XmlFileInputPipelineStage.java:38)

at oracle.odi.jdbc.driver.xml.io.impl.XmlFileInputPipeline.doProcess(XmlFileInputPipeline.java:36)

at com.sunopsis.jdbc.driver.xml.data.SnpsXmlLoader.loadFile(SnpsXmlLoader.java:285)

... more than 22

Please can someone help

I solved this error by creating an emp5.xml

convert xml xsd

Online XSD XML - XSD2XML generator

Thank you

Tags: Business Intelligence

Similar Questions

  • Error: XML parsing failed because «»

    Error: XML parsing failed because «»

    I have searched for the meaning of this very confusing error message, but all I can find is comments saying I should put verbose = true in my build.properties file.
    I use JDeveloper 11.1.1.5 to build if it uses a file build.properties this isn't one that I created.

    When I click on the error it just takes me to the top of the file bpel that I have an error in (or so he claims).

    Can someone explain please once and for all what this error message means and then suggest ways to fix this?

    Thank you.

    This error occurs when there is a wsdl file or xsd double in your project. Remove one double and its references... you should be happy to compile your project successfully.

  • Get the error when importing topology, 11.3 to 11.5 ODI scenarios

    Hello

    Recently, I had installed ODI 11.1.5.
    Now, I'm importing topology and scenarios exported from my former ODI 11.1.3 via script shell on a Linux machine.
    There are about 25 topology and about 40 scenarios. When I run the script on these some topology and scenarios imported and the rest I get following error.
    Imported files are not persisted. Sometimes even any resulting file and when I run the next time the same file gives an error.

    oracle.odi.oditools.OdiToolException: this ODI tool must be connected to the repository but failed to connect to repository
    at oracle.odi.oditools.OdiAbstractToolRunner.executeCoreTool(OdiAbstractToolRunner.java:133)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeTool(OdiAbstractToolRunner.java:47)
    at oracle.odi.ToolRunner.main(ToolRunner.java:75)
    Caused by: oracle.odi.core.config.MasterRepositoryResourceFailureException: org.springframework.jdbc.CannotGetJdbcConnectionException: could not make connection JDBC; nested exception is oracle.odi.jdbc.datasource.ConnectionTimeoutException: a timeout occurred while connecting to the database
    at oracle.odi.core.repository.Repository.getMasterRepository(Repository.java:79)
    at oracle.odi.core.OdiInstance.createMasterRepository(OdiInstance.java:491)
    to oracle.odi.core.OdiInstance. < init > (OdiInstance.java:544)
    at oracle.odi.core.OdiInstance.createInstance(OdiInstance.java:521)
    at oracle.odi.ToolRunner.initInstance(ToolRunner.java:36)
    at oracle.odi.oditools.OdiAbstractToolRunner.executeCoreTool(OdiAbstractToolRunner.java:128)
    ... 2 more
    Caused by: org.springframework.jdbc.CannotGetJdbcConnectionException: could not make connection JDBC; nested exception is oracle.odi.jdbc.datasource.ConnectionTimeoutException: a timeout occurred while connecting to the database
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:82)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:524)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
    to oracle.odi.core.repository.support.RepositoryUtils$ RepositoryInfoSource.loadRepositoryInfo (RepositoryUtils.java:180)
    at oracle.odi.core.repository.support.RepositoryUtils.loadMasterRepositoryInfo(RepositoryUtils.java:374)
    at oracle.odi.core.repository.Repository.getMasterRepository(Repository.java:77)
    at oracle.odi.core.OdiInstance.createMasterRepository(OdiInstance.java:492)
    ... 6 more
    Caused by: oracle.odi.jdbc.datasource.ConnectionTimeoutException: a timeout occurred while connecting to the database
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.doGetConnection(LoginTimeoutDatasourceAdapter.java:117)
    at oracle.odi.jdbc.datasource.LoginTimeoutDatasourceAdapter.getConnection(LoginTimeoutDatasourceAdapter.java:62)
    at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
    at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79)
    at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:524)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:588)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:613)
    at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:645)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:111)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:121)
    at org.springframework.jdbc.object.SqlQuery.execute(SqlQuery.java:136)
    to oracle.odi.core.repository.support.RepositoryUtils$ RepositoryInfoSource.loadRepositoryInfo (RepositoryUtils.java:180)
    at oracle.odi.core.repository.support.RepositoryUtils.loadMasterRepositoryInfo(RepositoryUtils.java:375)
    ... 8 more


    Please guide me in this regard.

    Ritika you should go for
    C:\Users\Current_User_name\AppData\Roaming\odi\oracledi

    In the oracledi folder, you will get the userpref.xml

    Thank you.

  • SQL Server Setup fails due to error XML Serializer

    I tried (19 times) to install SQL Server 2008 Express on my Windows XP Home Edition with SP 3. Whenever it produces a "generation of the document XML error". I contacted the support for the software vendor of the program that requires SQL Server must be installed. There were attributed to an error in the XML serializer in Windows, they do not have the expertise to help me fix it. How can I fix it?

    I have not messed with the "bowels" of Windows or edited before registry keys (which many solutions to similar questions seem to demand), so I'll need pretty detailed instructions.

    The summary of the last attempt log is:
    Summary of all:
    Final result: failed: see details below
    Exit code (decimal):-2068774911
    Exit facility code: 1201
    Exit error code: 1
    Exit message: there was an error generating the XML document.
    Start time: 2009-10-15 10:45:31
    End time: 2009-10-15 10:45:56
    Requested action: RunRules

    Computer properties:
    The machine processor count: 1
    OS version: Windows XP
    Operating system service pack: Service Pack 3
    Region of the BONE: United States
    OS language: English (United States)
    Operating system architecture: x 86
    Process architecture: 32-bit
    Cluster OS: No.

    The package properties:
    Description: SQL Server Database Services 2008
    SQLProductFamilyCode: {628F8F38-600E-493D-9946-F4178F20A8A9}
    ProductName: SQL2008
    Type: RTM
    Version: 10
    SPLevel: 0
    Installation location: c:\3c69b307a229367a4cccd3b804\x86\setup\
    Edition of installation: EXPRESS

    The user input parameters:
    ACTION: RunRules
    CONFIGURATIONFILE:
    FEATURES: SQL, TOOLS
    HELP: false
    INDICATEPROGRESS: false
    INSTANCENAME: SQLEXPRESS
    MEDIASOURCE: c:\3c69b307a229367a4cccd3b804\
    QUIET: true
    QUIETSIMPLE: false
    RULES: GlobalRules
    X 86: false

    Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20091015_104514\ConfigurationFile.ini

    Detailed results:

    Rules with failures:

    Global rules:

    There is no scenario-specific rules.

    Carry-over rules file: report of result of rule file is not available.

    Exception of summary:
    What follows is an exception stack listing the exceptions in outermost to deep order
    Inner exceptions are being indented

    Exception type: Microsoft.SqlServer.Chainer.Infrastructure.ChainerInfrastructureException
    Message:
    There was an error generating the XML document.
    Data:
    DisableWatson = true
    Battery:
    at Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.SerializeObject (String rootPath, Object objectToSerialize, Boolean saveToCache)
    at Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.SerializeObject (object objectToSerialize)
    at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.SaveInputSettingValueToObject (InputSettingInfo inputSettingInfo, values from list 1)
    at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.SaveParsedArgumentsIntoInputSettingStore (InputSettingSource source, dictionary 2 parsedArguments, Boolean chainerSetting, Boolean ignoreSettingsForNotAllowedScnearios)
    at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.ProcessCommandLineArguments (String [] commandLineArguments, Boolean chainerSetting)
    at Microsoft.SqlServer.Configuration.BootstrapExtension.ProcessFeatureCommandLineArgumentsAction.ExecuteAction (String actionId)
    at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute (String actionId, TextWriter errorStream)
    at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.InvokeAction (WorkflowObject metabase, TextWriter statusStream)
    at Microsoft.SqlServer.Setup.Chainer.Workflow.PendingActions.InvokeActions (WorkflowObject metaDb, TextWriter loggingStream)
    Type of the internal exception: System.InvalidOperationException
    Message:
    There was an error generating the XML document.
    Battery:
    to System.Xml.Serialization.XmlSerializer.Serialize (XmlWriter xmlWriter, Object o, namespaces in XmlSerializerNamespaces, String encodingStyle, string id)
    to System.Xml.Serialization.XmlSerializer.Serialize (TextWriter textWriter, Object o, XmlSerializerNamespaces namespaces)
    to System.Xml.Serialization.XmlSerializer.Serialize (TextWriter textWriter, Object o)
    at Microsoft.SqlServer.Chainer.Infrastructure.DataStoreService.SerializeObject (String rootPath, Object objectToSerialize, Boolean saveToCache)
    The inner exception type: System.Security.Cryptography.CryptographicException
    Message:
    The system cannot find the specified file.
                           
    Battery:
    at System.Security.Cryptography.ProtectedData.Protect (Byte [], Byte [] optionalEntropy, DataProtectionScope scope userData)
    to Microsoft.SqlServer.Common.SqlSecureString.WriteXml (XmlWriter writer)
    to System.Xml.Serialization.XmlSerializationWriter.WriteSerializable (serializable IXmlSerializable, String name, String ns, Boolean isNullable, Boolean wrapped)
    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlEngineSetupPublic.Write6_SqlEngineSetupPublic (String n, String ns, SqlEngineSetupPublic o, Boolean isNullable, Boolean needType)
    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlEngineSetupPublic.Write7_SqlEngineSetupPublic (Object o)

    The relevant error is:

    The inner exception type: System.Security.Cryptography.CryptographicException
    Message:
                            The system cannot find the specified file.
                           
    Battery:
    at System.Security.Cryptography.ProtectedData.Protect (Byte [], Byte [] optionalEntropy, DataProtectionScope scope userData)
    to Microsoft.SqlServer.Common.SqlSecureString.WriteXml (XmlWriter writer)
    to System.Xml.Serialization.XmlSerializationWriter.WriteSerializable (serializable IXmlSerializable, String name, String ns, Boolean isNullable, Boolean wrapped)
    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlEngineSetupPublic.Write6_SqlEngineSetupPublic (String n, String ns, SqlEngineSetupPublic o, Boolean isNullable, Boolean needType)
    at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterSqlEngineSetupPublic.Write7_SqlEngineSetupPublic (Object o)

    Looks like it's either just a missing file or you do not have permission to open it. Are you an administrator on the system you are trying to install this on? Have you tried all the options found here CIW (http://blogs.msdn.com/sqlexpress/archive/2009/06/15/installing-sql-server-2008-guidance.aspx)?

  • Error xml Oracle on a file

    On Oracle 11 g 2, I import an xml file into a table:

    INSERT INTO MS386_XML_TEMPLATE

    VALUES (SYSDATE, pvNomeFile,

    XmlType (bfilename (myDirectory, pvNomeFile), nls_charset_id ('UTF8')));

    When I choose on this table, I have the following error:

    SELECT TBELENCOPOD. POD

    Of

    (SELECT XMLCast (TBPOD. POD COLUMN_VALUE AS VARCHAR2 (20)) AS

    TABLE (XMLSequence (XMLTYPE (CURSOR

    (SELECT * FROM MS386_XML_TEMPLATE)

    () .extract('/rowset/row/xml_file/edi_l/trader/idrif idrich/hdr/pod '))) TBPOD

    ) TBELENCOPOD

    LEFT JOIN MS038_METERS TBPOD

    ON TBELENCOPOD. POD = TBPOD. POD

    WHERE TBPOD. POD IS NULL

    GROUP OF TBELENCOPOD. POD;

    ORA-31011: ORA-31011: failed to parse XML

    ORA-19202: an error has occurred in the processing of XML

    LPX-00204: syntax error

    Error on line 7

    ORA-06512: a "SYS. XMLTYPE", line 343

    ORA-06512: line 1

    31011 00000 - "XML parsing failed"

    * Cause: XML parser returned an error trying to parse the document.

    * Action: Check whether the document to parse is valid.

    The XML is valid, I had checked with a validator. Thank you very much

    Igor

    Me stupid (when do I start to actually read what was written)

    You have a table with varchar2(), the date and xmltype.

    So, how do you think Oracle to convert the xmltype column to xmltype (at least it's a moment)?

    So you can get the content out, xmltype but then you have to convert it to xml, it is already XML...

    So we need to find another approach to "xmltype (cursor (select * table)).

    In principle, you can extract the content in the XML file directly.

    For example (untested) something like

    select xt.pod
    from table tab
          , xmltable ('/edi_l/trader/idrif/hdr',
                          passing tab.XML_FILE
                          columns
                            pod VARCHAR2(20) path 'pod')  xt
    
  • Error XML Insert

    Hi all

    It comes to my table,

    create table xml_test (col1 XMLTYPE);

    When inserting under xml throws the error.

    SQL error: ORA-31011: failed to parse XML

    ORA-19202: an error has occurred in the processing of XML

    LPX-00240: element start tag is not well formed

    Error on line 5

    31011 00000 - "XML parsing failed"

    * Cause: XML parser returned an error trying to parse the document.

    * Action: Check whether the document to parse is valid.

    Insert into xml_test values (' < ROOT >)

    NASA < NAME_OF_THE_COMPANY > < / NAME_OF_THE_COMPANY >

    < DETAILED_DATA_ENTERED VALUE = 'test' >

    < TYPES_OF_FINANCIALS VALUE = "Checked" >

    < FY_ENDED_DD_MM_YY VALUE = 'Saturday', '31', '2012' >

    < OPERATING_MONTHS VALUE = "12" >

    < PROFIT_AND_LOSS_STATEMENT VALUE = "" >

    < TOTAL_REVENUE VALUE = "6.00" >

    < REVENUE_FROM_OPERATIONS VALUE = "5.00" >

    < GROSS_DOMESTIC_REVENUE VALUE = "3.00" >

    < GROSS_REVENUE_MANUFACTURING > 1,00 < / GROSS_REVENUE_MANUFACTURING >

    < GROSS_REVENUE_SERVICES > 1,00 < / GROSS_REVENUE_SERVICES >

    < GROSS_REVENUE_TRADING > 1,00 < / GROSS_REVENUE_TRADING >

    < / GROSS_DOMESTIC_REVENUE >

    < GROSS_EXPORT_REVENUE VALUE = "3.00" >

    < GROSS_REVENUE_MANUFACTURING > 1,00 < / GROSS_REVENUE_MANUFACTURING >

    < GROSS_REVENUE_SERVICES > 1,00 < / GROSS_REVENUE_SERVICES >

    < GROSS_REVENUE_TRADING > 1,00 < / GROSS_REVENUE_TRADING >

    < / GROSS_EXPORT_REVENUE >

    < EXCISE_DUTY > 1,00 < / EXCISE_DUTY >

    < / REVENUE_FROM_OPERATIONS >

    < OTHER_OPERATING_INCOME > 1,00 < / OTHER_OPERATING_INCOME >

    < / TOTAL_REVENUE >

    < TOTAL_EXPENSES VALUE = "15.00" >

    < COST_OF_RAW_MATERIALS VALUE = "2.00" >

    < ANY > 1,00 < / IMPORTED >

    < Aboriginal PEOPLE > 1,00 < / Aboriginal PEOPLES >

    < / COST_OF_RAW_MATERIALS >

    < / PROFIT_AND_LOSS_STATEMENT >

    < / OPERATING_MONTHS >

    < / FY_ENDED_DD_MM_YY >

    < / TYPES_OF_FINANCIALS >

    < / DETAILED_DATA_ENTERED >

    (< / ROOT > ');

    Thank you

    Fame

    If you set both that it works

    SQL> select xmltype ('
      2  
      3    NASA
      4    
      5    
      6    
      7    
      8    
      9    
     10    
     11    
     12    1.00
     13    1.00
     14    1.00
     15    
     16    
     17    1.00
     18    1.00
     19    1.00
     20    
     21    1.00
     22    
     23    1.00
     24    
     25    
     26    
     27    1.00
     28    1.00
     29    
     30    
     31    
     32    
     33    
     34    
     35  ') from dual;
    XMLTYPE('NASA
      NASA
      
    
  • Fatal error XML - beginning of root element expected

    I'm trying to test Oracle ADF. I downloaded JDeveloper 12 c and tried to follow along with the tutorial "Develop with Oracle ADF and Oracle JDeveloper". Unfortunettly when I select run in the contextual menu jsp I error below:

    http://imageshack.us/photo/my-images/51/32q6.png/http://ImageShack.us/photo/my-images/51/32q6.PNG/

    What could be the cause of the problem?

    Thank you very much. The problem is in the file log.xml vacuum.

  • error XML parsing at insert stmt.

    my xml file having data like this
    <?xml version="1.0" encoding="utf-8"?> 
    <flexcube>
       <contractStatus>      
              <system>TRESTEL</system>        <accessKey>eDealer</accessKey><password>eDealer</password>
              <uuid>eDealer</uuid>        <sequenceNumber>202980100</sequenceNumber>
              <sourceAddress>M@1129800ternal@111698@FX@1</sourceAddress>
            <signature>FEDCBA98765432100123456789ABCDEF</signature>      
           <contractRef>1180100</contractRef>        <branch>018</branch>     
       </contractStatus> 
    </flexcube>
    <flexcube>
       <contractStatus>      
              <system>GRVKSEL</system>        <accessKey>eDealer</accessKey><password>eDealer</password>
              <uuid>eDealer</uuid>        <sequenceNumber>206981112980100</sequenceNumber>
              <sourceAddress>M@1129800002nal@1112980100@20698@FX@1</sourceAddress>
            <signature>FEDCBA98765432100123456789ABCDEF</signature>      
           <contractRef>80100</contractRef>        <branch>018</branch>     
       </contractStatus> 
    </flexcube>
    <flexcube>
       <contractStatus>      
              <system>UTIOSEL</system>        <accessKey>eDealer</accessKey><password>eDealer</password>
              <uuid>eDealer</uuid>        <sequenceNumber>206981112980100</sequenceNumber>
              <sourceAddress>M@2011-10-ternal@1112980100@20698@FX@1</sourceAddress>
            <signature>FEDCBA98765432100123456789ABCDEF</signature>      
           <contractRef>1112980100</contractRef>        <branch>018</branch>     
       </contractStatus> 
    </flexcube>
    
    means having 3 records
    
    i want to insert all three records into the table.
    
    below stmt not working..
    any solutions??
    
    
     INSERT INTO test_1 (q1, q2, q3, q4)
          SELECT q1, q2, q3, q4
    
        FROM XMLTable(flexcube/contractStatus'
               passing xmltype(bfilename(p_directory, p_filename), nls_charset_id('AL32UTF8'))
                columns q1 varchar2(200)  path 'system'
                      , q2            varchar2(500)  path 'accessKey'
                      , q3      varchar2(100) path 'password'
                      , q4               varchar2(800) path 'contractRef'
              )  ;

    Hello

    below stmt does not...

    Useful error message, you can give us?

    In any case... I see two problems here:

    (1) the minor is the obvious syntax error here (no opening quote), but it's probably a typo:

    FROM XMLTable(flexcube/contractStatus'
    

    (2) the major is that your file contains an invalid XML document (no single root), but a fragment of XML instead as such cannot have an XML prologue.
    The contents of your file was really what (no prologue):

    
       
              TRESTEL        eDealereDealer
              eDealer        202980100
              M@1129800ternal@111698@FX@1
            FEDCBA98765432100123456789ABCDEF
           1180100        018
       
    
    
       
              GRVKSEL        eDealereDealer
              eDealer        206981112980100
              M@1129800002nal@1112980100@20698@FX@1
            FEDCBA98765432100123456789ABCDEF
           80100        018
       
    
    
       
              UTIOSEL        eDealereDealer
              eDealer        206981112980100
              M@2011-10-ternal@1112980100@20698@FX@1
            FEDCBA98765432100123456789ABCDEF
           1112980100        018
       
    
    

    This would have worked:

    SQL> SELECT q1, q2, q3, q4
      2  FROM XMLTable('/flexcube/contractStatus'
      3         passing xmlparse( content
      4                           dbms_xslprocessor.read2clob(
      5                             'TEST_DIR'
      6                           , 'flexcubes.xml'
      7                           , nls_charset_id('AL32UTF8')
      8                           ) )
      9         columns q1 varchar2(200) path 'system'
     10               , q2 varchar2(500) path 'accessKey'
     11               , q3 varchar2(100) path 'password'
     12               , q4 varchar2(800) path 'contractRef'
     13       )
     14  ;
    
    Q1          Q2          Q3          Q4
    ----------- ----------- ----------- -------------
    TRESTEL     eDealer     eDealer     1180100
    GRVKSEL     eDealer     eDealer     80100
    UTIOSEL     eDealer     eDealer     1112980100
                                                     
    

    If you have control over the incoming file, I suggest you correct its content is by adding a root element, then you can keep the prologue and use your first query (after correction of typo's fault), or remove the prologue entirely and use the above.

  • Flash complains about XML? IM using AS3 why are there errors XML? Unknown syntax errors.

    Sorry to keep spamming these forums with my stupid mistakes, but I'm trying really hard to learn Flash/AS3 and when I got to wrestling with it, I will definitely love.

    I am a rookie flash trying to make a simple computing device and I'm doing me a world of errors, I've never seen before.

    My Code (excuse me, but maybe it's my bad syntax):

    import flash.ui.Mouse;

    var Hnum:String;

    var PCnum:String;

    var calc:Number = 25;

    var Total: Number;

    NUM1. Restrict = "0-9";

    num2. Restrict = "0-9";

    Est_btn.addEventListener (MouseEvent.Click, Calculate);

    function PartCount(event:MouseEvent):void {}

    PCnum = num2.text;

    If (PCnum > 0 & & < 10) {}

    parseInt (PCnum) * 10;

    }

    or if (PCnum > 11 & & < 20) {}

    parseInt (PCnum) * 5;

    }

    or if (PCnum > 21) {}

    parseInt (PCnum) * 1;

    }

    }

    Est_btn.addEventListener (MouseEvent.Click, Calculate);

    function calculate(event:MouseEvent):void {}

    Hnum = num1.text;

    PCnum = num2.text;

    Total = parseInt (Hnum) * calc + parseInt (PCnum);

    Total.toString ();

    Total_txt. Text = String (Total);

    }

    }

    I had all this work, I was only calculation Hnum by 25. But when I try to intergrate the fi or statement so bad, and I get these 5 mistakes.

    Scene 1, Layer 'Actions', frame 1, line 151104: invalid xml name

    Scene 1, Layer 'Actions', frame 11084: syntax error: expected xmltagendend before the end of the program.

    Scene 1, Layer 'Actions', frame 11084: syntax error: expected rightparen before the end of the program.

    Scene 1, Layer 'Actions', frame 11084: syntax error: expecting identifier before the end of the program.

    Scene 1, Layer 'Actions', frame 11084: syntax error: expected rightbrace before the end of the program.

    I don't understand what these errors are emphasizing? Why XML? What is my variable names?

    Here is the code that I had before the second function that worked well:

    var Hnum:String;

    var PCnum:String;

    var calc:Number = 25;

    var Total: Number;

    NUM1. Restrict = "0-9";

    num2. Restrict = "0-9";

    Est_btn.addEventListener (MouseEvent.Click, Calculate);

    function calculate(event:MouseEvent):void {}

    Hnum = num1.text;

    PCnum = num2.text;

    Total = parseInt (Hnum) * calc;

    Total.toString ();

    Total_txt. Text = String (Total);

    }

    Any help would be greatly appreciated! I'll get the hang of this!

    MrB

    Maybe is a parsing problem

    Date of arrival:

    PCnum = num2.text;

    If (PCnum > 0 &)< 10){ =""><   you're="" comparing="" text="" against="" numbers="" and=""><10 es="" comparing="" agaist="" nothing="" this="" can="" be="" a="">

    Use rather

    PCnum = int (num2.text);

    If (PCnum > 0 & PCnum)<>

  • Error XML

    I try to play the swf file from another swf through XML path. If I use trace showing the path correctly.

    But if I added in URLRequest I deal with error.

    My Code


    var myXML:XML;
    var myLoader:URLLoader = new URLLoader();
    myLoader.load(new URLRequest("flashfiles.xml"));
    myLoader.addEventListener(Event.COMPLETE, processXML);
    
    function processXML(e:Event):void
    {
              myXML = new XML(e.target.data);
              trace(myXML.FILE[0]);
              bLdr.load(new URLRequest(myXML.FILE[0]));
    }
    
    
    var bLdr:URLLoader = new URLLoader();                    // line 24
    bLdr.addEventListener(Event.COMPLETE, onLoadInit);
    bLdr.dataFormat = URLLoaderDataFormat.BINARY;
    

    XML file


    <?xml version="1.0" encoding="utf-8"?>
    <FILES>
    <FILE PATH="player">http://www.mywebsite.com/test/ondemand_player.swf</FILE>
    </FILES>
    

    Error output:

    http://www.mywebsite.com/test/ondemand_player.swf

    http://www.mywebsite.com/test/ondemand_player.swf

    http://www.mywebsite.com/test/ondemand_player.swf

    http://www.mywebsite.com/test/ondemand_player.swf

    http://www.mywebsite.com/test/ondemand_player.swf

    http://www.mywebsite.com/test/ondemand_player.swf

    http://www.mywebsite.com/test/ondemand_player.swf

    http://www.mywebsite.com/test/ondemand_player.swf

    http://www.mywebsite.com/test/ondemand_player.swf

    #2044 Error: unhandled ioError:. text = Error #2032: error in workflow. URL: http://www.mywebsite.com/test/ondemand_player.swf

    at ondemand_player_fla::MainTimeline/frame1() [ondemand_player_fla. MainTimeline::frame1:24]

    Hello

    When I have compiled your code I don't have error, can you please try this:

    package

    {

    import flash.display.MovieClip;

    import flash.net.URLLoader;

    import flash.events.Event;

    import flash.net.URLRequest;

    import flash.net.URLLoaderDataFormat;

    public class ondemand_player extends MovieClip

    {

    var myXML:XML;

    var myLoader:URLLoader = new URLLoader();

    var bLdr:URLLoader = new URLLoader();

    function ondemand_player (): void

    {

    myLoader.load (new URLRequest ("data.xml"));

    myLoader.addEventListener (Event.COMPLETE, processXML);

    bLdr.addEventListener (Event.COMPLETE, onLoadInit);

    bLdr.dataFormat = URLLoaderDataFormat.BINARY;

    }

    function processXML(e:Event):void

    {

    myXML = new XML (e.target.data);

    trace(myXML.file[0]);

    bLdr.load (new URLRequest(myXML.FILE[0]));

    }

    function onLoadInit(e:Event):void

    {

    }

    }

    }

    And "Data.xml" is:

    http://www.mywebsite.com/test/ondemand_player.swf

    Kind regards

    Vipul

  • Analysis of Dreamweaver CS5 fatal error XML: an invalid document structure, line: 1, file: C:\User\Tyler\App

    Fatal XML parsing error: an invalid document structure, line: 1 file: C:\User\Tyler\AppData\Roaming\Adobe\Dreamweaver CS5\en_US\Configureation\Workspace\Classic.xml

    I have crossed former disscussion forums and followed the recommended steps by removing the file .xml corrupted itself (in this case 'Classic.xml') but imidiatly after when I try to open Dreamweaver once again, I am prompted with the same fatal error including the file that I just deleted. Then I deleted the entire file configures and that did not help either.

    It is also strange that when I followed the path to find the .xml file corrupted at the prompt, the path is different because I can't find the file 'Classic.xml' through 'en_US\Configuration\Weorkspace' e navigation, but I find the "Classic.xml" file corrupted in the file 'configure' file 'Adobe Dreamweaver CS5.

    Im not sure what to do now and I would really like Dreamweaver to the top and running so help please if you can!

    Thank you

    -Tyler

    Step 1: Close DW, go to C:\User\Tyler\AppData\Roaming\Adobe\Dreamweaver CS5\en_US\Configureation\Workspace\ and delete this file Classic.xml

    Reopen DW. DW must auto-créer your workspace layout XML file once again. See if it works very well.

    GO TO STEP 2, IF STEP 1 DOES NOT RESOLVE THE ISSUE

    Step 2: Go to the C:\Users\Tyler\AppData\Roaming\Adobe\Dreamweaver CS5\en-US\Configuration and delete the entire folder "SETUP" . Reopen DW. DW should automatically create your configuration file based on pre-defined schemas and configuration options. This will definitely fix your problem.

    Reason for this question: this question would have been caused due to a malformed workspace setup. That can happen due to customizations you have made to the layout / bad permissions of files / bad closing Windows.

    See if these patches does not solve your problem and post your results here.

    See you soon,.

    ST

  • Open the file error xml

    Hello

    I was struck with an error by opening the xml file. Thanks for giving me your entries.

    I use the pl/sql script for outbounding data in .xml format. But after you create the file successfully, I am not able to open it in Solution Explorer. The data with "&" in a column and it will be available in the data in many areas. Where as if I try to create the same report Oracle using "xml" as output, then I don't get this problem. And I am able to open the same in Explorer perfectly.

    Here I am pasting the script that I created

    create or replace the PROCEDURE GETXML_TAG (ERRBUT OUT VARCHAR2,
    RETCODE OUT VARCHAR2,
    P_DIR_NAME VARCHAR2)
    IS
    v_record_data varchar2 (4000): = null;
    v_order_id varchar2 (50): = null;
    v_order_date varchar2 (50): = null;
    v_order_mode varchar2 (50): = null;
    v_order_total varchar2 (50): = null;
    v_file_dir varchar2 (100): = ' / usr/tmp ';

    CURSOR cur_hdr IS
    SELECT DISTINCT MINISTRY_CODE, DEPT_CODE, "ENTITY_CODE
    OF XGBZ_FIN_STAGE_ACS
    WHERE tx_timestamp IS NULL;

    CURSOR cur_line (p_min_code IN VARCHAR2,
    p_dept_code IN VARCHAR2) IS
    SELECT seg_no,
    seg_code,
    TO_CHAR (seg_description) seg_description,
    start_date,
    End_date,
    status,
    disable_flag
    OF xgbz_fin_stage_acs
    WHERE tx_timestamp IS NULL
    AND ministry_code = p_min_code
    AND dept_code = p_dept_code;

    BEGIN
    v_filename: = 'GEBIZ_EPO ' | TO_CHAR (SYSDATE, 'DDMMYYYYHH24MI'): '. XML';
    f_xml_file: = UTL_FILE. FOPEN (v_file_dir, v_filename, 'W');
    v_record_data: = ' <? XML version = "1.0" encoding = "UTF-8"? > ';
    UTL_FILE.put_line (f_XML_FILE, v_RECORD_DATA);
    UTL_FILE.put_line (f_XML_FILE, '< GEBIZ_ACCOUNT_SEGMENT >');
    dbms_output.put_line (' step 1 ' | v_file_dir |) » -'|| v_filename);

    FOR cur_hdr_rec IN cur_hdr
    LOOP
    dbms_output.put_line ('step 2');
    UTL_FILE.put_line (f_XML_FILE, '< HEADER >');
    UTL_FILE.put_line (f_XML_FILE, '< MINISTRY_CODE >' | cur_hdr_rec.ministry_code | / MINISTRY_CODE > ');
    UTL_FILE.put_line (f_XML_FILE, '< DEPT_CODE >' | cur_hdr_rec.dept_code | / DEPT_CODE > ');
    UTL_FILE.put_line (f_XML_FILE, '< ENTITY_CODE >' | cur_hdr_rec.entity_code | / ENTITY_CODE > ');
    UTL_FILE.put_line (f_XML_FILE, ' < / header > ');

    FOR cur_line_rec IN cur_line (cur_hdr_rec.ministry_code, cur_hdr_rec.dept_code)
    LOOP
    dbms_output.put_line ('step 3');
    UTL_FILE.put_line (f_XML_FILE, '< DETAILS >');
    UTL_FILE.put_line (f_XML_FILE, '< SEGEMENT >');
    UTL_FILE.put_line (f_XML_FILE, '< NUMBER >' | cur_line_rec.seg_no |) ("< / NUMBER >");
    UTL_FILE.put_line (f_XML_FILE, '< CODE >' | cur_line_rec.seg_no |) "< code >');
    UTL_FILE.put_line (f_XML_FILE, '< DESCRIPTION >' | cur_line_rec.seg_description | / DESCRIPTION > ');
    UTL_FILE.put_line (f_XML_FILE, '< START_DATE >' | cur_line_rec.start_date | / START_DATE > ');
    UTL_FILE.put_line (f_XML_FILE, '< end_date >' | cur_line_rec.end_date | / end_date > ');
    UTL_FILE.put_line (f_XML_FILE, '< STATUS >' | cur_line_rec.status | / STATUS > ');
    UTL_FILE.put_line (f_XML_FILE, '< DELETE_FLAG >' | cur_line_rec.disable_flag | / DELETE_FLAG > ');
    UTL_FILE.put_line (f_XML_FILE, '< /SEGEMENT >');
    UTL_FILE.put_line (f_XML_FILE, ' < / DETAILS > ');


    END LOOP;

    END LOOP;
    dbms_output.put_line ('step 4');
    UTL_FILE.put_line (f_XML_FILE, ' < / GEBIZ_ACCOUNT_SEGMENT > ');
    UTL_FILE. FCLOSE (f_XML_FILE);

    EXCEPTION
    WHEN UTL_FILE. INVALID_OPERATION THEN
    dbms_output.put_line (' invalid operation for ' | v_filename);
    UTL_FILE. FCLOSE_ALL;

    WHEN UTL_FILE. INVALID_PATH THEN
    dbms_output.put_line (' no access path is valid for ' | v_filename);
    UTL_FILE. FCLOSE_ALL;

    WHEN UTL_FILE. INVALID_MODE THEN
    dbms_output.put_line (' Mode is not valid for ' | v_filename);
    UTL_FILE. FCLOSE_ALL;

    WHEN UTL_FILE. INVALID_FILEHANDLE THEN
    dbms_output.put_line (' invalid file descriptor ' | v_filename);
    UTL_FILE. FCLOSE_ALL;

    WHEN UTL_FILE. WRITE_ERROR THEN
    dbms_output.put_line (' Error Invalid write ' | v_filename);
    UTL_FILE. FCLOSE_ALL;

    WHEN UTL_FILE. READ_ERROR THEN
    dbms_output.put_line ('Invalid Read Error' | v_filename);
    UTL_FILE. FCLOSE_ALL;

    WHEN UTL_FILE. INTERNAL_ERROR THEN
    dbms_output.put_line ("'Internal Error");
    UTL_FILE. FCLOSE_ALL;

    WHILE OTHERS THEN
    dbms_output.put_line (' error ' |') SQL CODE: ' | SQLCODE. ' Message: '. SQLERRM);
    UTL_FILE. FCLOSE_ALL;
    END GETXML_TAG;

    /

    The file that I am generating at the server level:
    EPO150320111915. XML

    <? XML version = "1.0" encoding = "UTF-8"? >
    < GEBIZ_ACCOUNT_SEGMENT >
    < HEADER >
    RPO < MINISTRY_CODE > < / MINISTRY_CODE >
    < DEPT_CODE > 000 < / DEPT_CODE >
    < ENTITY_CODE > < / ENTITY_CODE >
    < / Header >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 1 < / NB >
    < CODE > 1 </postcode >
    < DESCRIPTION > Republic Polytechnic < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 2 < / NB >
    < CODE > < code > 2
    Operating grant < DESCRIPTION > < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 2 < / NB >
    < CODE > < code > 2
    < DESCRIPTION > Dev Grant-renovation Campus Temp Temp < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 2 < / NB >
    < CODE > < code > 2
    < DESCRIPTION > Dev renovation Grant to hand Campus Temp < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 2 < / NB >
    < CODE > < code > 2
    < DESCRIPTION > Dev Grant-IT for Campus Temp < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 2 < / NB >
    < CODE > < code > 2
    < DESCRIPTION > Dev Grant-Land Premium for Campus Woodlands < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 2 < / NB >
    < CODE > < code > 2
    < DESCRIPTION > Dev-Grant-pre-construction of the Woodlands Campus < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 2 < / NB >
    < CODE > < code > 2
    < DESCRIPTION > Dev Grant-FE < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 2 < / NB >
    < CODE > < code > 2
    < DESCRIPTION > tax exempt student Dev Welfare Fund < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 2 < / NB >
    < CODE > < code > 2
    < DESCRIPTION > funds tax exempt-Dev project < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 2 < / NB >
    < CODE > < code > 2
    < DESCRIPTION > reserved finance < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 3 < / NB >
    < CODE > < code > 3
    Library < DESCRIPTION > < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 3 < / NB >
    < CODE > < code > 3
    < DESCRIPTION > Office of academic affairs < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 3 < / NB >
    < CODE > < code > 3
    < DESCRIPTION > the Corporate Communications Office < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 3 < / NB >
    < CODE > < code > 3
    Office of the Assistant Director of the < DESCRIPTION > < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 3 < / NB >
    < CODE > < code > 3
    < DESCRIPTION > the estates Office < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 3 < / NB >
    < CODE > < code > 3
    < DESCRIPTION > finance < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 3 < / NB >
    < CODE > < code > 3
    < DESCRIPTION > Office of human resources < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < DETAILS >
    < SEGEMENT >
    < NUMBER > 3 < / NB >
    < CODE > < code > 3
    < DESCRIPTION > Office of industrial and international Services < / DESCRIPTION >
    < START_DATE > < / START_DATE >
    < end_date > < / end_date >
    A <>STATUS < / STATUS >
    < DELETE_FLAG > < / DELETE_FLAG >
    < / SEGEMENT >
    < / DETAILS >
    < / GEBIZ_ACCOUNT_SEGMENT >

    -end of file
    I'm able to correctly edit in Notepad, when tried to open, at the level of the Solution Explorer, its not allow me due to '& '.

    Pls confirm what could be the problem.

    Concerning
    Mr. Nagendra

    Hi Nagendra,

    Pls confirm what could be the problem.

    In a document valid XML, characters like <,>, &, "and" must be escaped using entity references if they appear in the text or attribute nodes.
    For example, & must be escaped to "& amp;"

    Did you check my answer on your previous thread on the generation of XML?
    http://forums.Oracle.com/forums/thread.jspa?threadID=2184907&TSTART=30

    The method that you are trying to use is obsolete (since Oracle 9i) and also produces invalid XML content.

    Here, I think that the more flexible method is to use the SQL/XML functions.
    Try the following, based on the example you posted, it should give you the expected result:

    {code}
    DECLARE

    v_out CLOB.
    v_filename VARCHAR2 (300): = 'GEBIZ_EPO ' | TO_CHAR (sysdate, 'DDMMYYYYHH24MI'): '. XML';
    v_prolog VARCHAR2 (40): = '';

    BEGIN

    SELECT xmlserialize (document
    XmlElement ("GEBIZ_ACCOUNT_SEGMENT"
    xmlagg)
    XMLCONCAT (hdr, dtls)
    )
    )
    as dash clob size = 2
    )
    IN v_out
    DE)
    SELECT xmlelement ("HEADER"
    xmlelement ("MINISTRY_CODE", ministry_code)
    xmlelement ("DEPT_CODE", dept_code)
    xmlelement ("ENTITY_CODE", entity_code)
    ) hdr
    xmlagg)
    XmlElement ("DETAILS"
    xmlelement ("SEGMENT"
    xmlelement ("NUMBER", seg_no)
    xmlelement ('CODE', seg_no)
    xmlelement ("DESCRIPTION", seg_description)
    xmlelement ("START_DATE", start_date)
    xmlelement ("end_date", end_date)
    xmlelement ("STATUS", status)
    xmlelement ("DELETE_FLAG", disable_flag)
    )
    )
    ) dtls
    OF xgbz_fin_stage_acs
    WHERE tx_timestamp is null
    GROUP OF ministry_code, dept_code, entity_code
    )
    ;

    DBMS_XSLPROCESSOR.clob2file (v_prolog | v_out, 'TEST_DIR', v_filename, nls_charset_id ('AL32UTF8'));

    END;
    /
    {code}

    -A single SQL query to retrieve data and format in XML (necessary character escape is automatically supported).
    -A single call to DBMS_XSLPROCESSOR.clob2file to create the file in the directory TEST_DIR.

    Hope that helps.

  • 11g - save customizations fails with the error XML

    I have two guests of dashboard on my dashboard. One is a simple drop-down list. The other is a Variable presentation guest (number). I selected/entered two values normal, click on apply, and the dashboard has answered correctly. Then I chose 'save the current customization. After you have entered the name MYSTUFF as saved personalization and clicking on OK, I get this error:

    The current XML is not valid with the following errors: Bad xml instance! <? XML version = "1.0"? "" ' > < sawsel:dashboardSelections xmlns:sawsel="com.siebel.analytics.web/dashselections/v1" xmlns:sawst="com.siebel.analytics.web/state/v1" xmlns:sawx="com.siebel.analytics.web/expression/v1.1" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" version = "0.7" > < sawst:envState xmlVersion = "200811100" > < sawst:container cid = "d: dashboard" xsi: type = "sawst:topLevelStateContainer" > < sawst:container cid = 'f: dpstate"xsi: type ="sawst:dashpromptstate"statepoolId ="phn95bo9nflsvfr362fcakclb2"> < sawst: container cid = 'f' ': dpstate ' xsi: type = "sawst:dashpromptstate" statepoolId = "qkautlal0g0v511mfq72b30lai" / > < / sawst:container > < sawst:container cid = "p:bp8ao515lc33ru6u" xsi: type = "sawst:page" inDashboardPage = "true" > < sawst:container cid = "r: 2cnfc2145q1uiqcd" xsi: type = "sawst:report" links = defaultView "d" = "compoundView. 1"folder = ' / shared/training" itemName = "Sales and Profits" / > < sawst:container cid = "r: kbqpoefb9v4au3up" xsi: type = "sawst:report" defaultView = "compoundView!" 2"folder = ' / shared/training" itemName = "Declining sales" / > < sawst: container cid = "r: hj81v17v5fvsaeto" xsi: type = "sawst:report" defaultView "compoundView =! 2"folder = ' / shared/training" itemName = "Sales and Profits" / > < sawst:container cid = "s:5l6q89h71pmlb85t" xsi: type = "sawst:section" > < sawst:container cid = "a: isdndle4j7uru0uv" xsi: type = "sawst:actionlink" > < sawst:container cid = 'condition: n' xsi: type = "sawst:navigation" conditionEvalStatus = "full" / > < / sawst:container > < sawst:container cid = "n: condition" xsi: type = "sawst:navigation" conditionEvalStatus = "complete" / > < / sawst "" : container > < sawst:container cid = "s:3pt4biahbrdfsbke" xsi: type = "sawst:section" / > < sawst:container cid = "s:j40b1k5eh77c4i4o" xsi: type = "sawst:section" / > < sawst:container cid = "s:g2dns9sm7grqui3k" xsi: type = "sawst:section" / > < sawst:container cid = "s:rrdjna562b7qqomk" xsi: type = "sawst:section" / > < sawst:container cid = s ": ihgv7i7i0ch05gn2" xsi: type = "sawst:section" / > < sawst:container cid = "s:4t8lq8sfpv26qok8" xsi " : type = "sawst:section" / > < sawst:container cid = "s:sv6uv7de99eaa9l4" xsi: type = "sawst:section" / > < sawst:container cid = "s:839isfiqie8i751a" xsi: type = "sawst:section" / > < / sawst:container > < / sawst:container > < / sawst:envState > < sawsel:xmlStatesReferredTo > < sawsel:ref refId = "phn95bo9nflsvfr362fcakclb2" > < sawsel: appliedStates > < sawsel:filter > < sawx:expr xsi: type = "sawx ': logic "op = 'and' > < sawx:expr xsi: type ="sawx:list"="en"setVariable op ="dashboard.variables [& #39; Change_Pct & #39;] ' > < sawx:expr xsi: type = "sawx:sqlExpression" > 1 < / sawx:expr > < sawx:expr container = "http://www.w3.org/2001/XMLSchema" xsi: type = "xsd: Decimal" >-10 < / sawx:expr > < / sawx:expr > < sawx:expr xsi: type = "sawx:list" = "en" setVariable op = 'requestVariables [& #39; '. Selected_Month & #39;] ' > < sawx:expr xsi: type = "sawx:sqlExpression" > & quot; Times & quot;. & quot; Month & quot; < / sawx:expr > < sawx:expr container = "http://www.w3.org/2001/XMLSchema" xsi: type = "xsd: String" > may-09 < / sawx:expr > < / sawx:expr > < / sawx:expr > < / sawsel:filter > < sawsel:variables > < sawx:expr xsi: type = "sawx:list" = "en" setVariable op = "dashboard.variables [& #39; Change_Pct & #39;] ' > < sawx:expr xsi: type = "sawx:sqlExpression" > 1 < / sawx:expr > < sawx:expr container = "http://www.w3.org/2001/XMLSchema" xsi: type = "xsd: Decimal" >-10 < / sawx:expr > < / sawx:expr > < / sawsel:variables > < / sawsel:appliedStates > < / sawsel:ref > < / sawsel:xmlStatesReferredTo > < / sawsel:dashboardSelections > line: 2, Col: 1383, attribute 'conditionEvalStatus' is not declared for the 'container' Line item : 2, col: 1496, the 'conditionEvalStatus' attribute is not declared for the element "container".

    The error occurs in IE 8 and Firefox 3.6.13.

    Is this a known bug?

    It is a bug - if you have an article on a page and the Section has an associated illness, the link 'Save the current customization' will throw this error. In addition, the link 'Create the bookmark link' will throw the same error. If you remove the Condition, you will be able to save customizations/create bookmark links.

  • need help not null error: xml or onComplete?

    Can someone tell me what this means?

    Slide show his allusion is a something I bought online and is embedded in my film.

    That means I put and onComplete function on the page that take care of that?  Is the XML or the slideshow movie?

    Or did I miss eventListener somewhere?

    Error #2007: Parameter listener must be non-null.
    at flash.events::EventDispatcher/addEventListener()
    at slideshow_fla::TheWholeSlideshow_1/xmlLoaded()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

    Thanks in advance

    Barbara

    He can. Also, perhaps first thing to check if the xml code that contains images url points to the good things - some errors in the show relate to unresolved URLS.

  • Error XML Publisher Enterprise

    Hi all:
    When I create and run the report in the "XML Publisher 5.6.2 Enterprise version" shows, the error as follows, how can I solve the problem?

    javax.servlet.ServletException: missing attribute: 'url '.
    at oracle.apps.xdo.servlet.XDOServlet.handleRequest(XDOServlet.java:211)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:138)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:52)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:629)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    to oracle.oc4j.network.ServerSocketReadHandler$ SafeRunnable.run (ServerSocketReadHandler.java:260)
    to com.evermind.util.ReleasableResourcePooledExecutor$ MyWorker.run (ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)



    my environment is: XML Publisher 5.6.2 version
    Platform: Windows XP 32-bit

    Concerning
    Terry

    Terry,

    Please see if this tutorial helps.

    Creating reports in Oracle E-Business Suite using XML Publisher
    http://St-curriculum.Oracle.com/OBE/FMW/bi/xmlp_ebiz/index.html

    Thank you
    Hussein

Maybe you are looking for