Invalid XML editing guests

I renamed a sector of activity, the catalog folder and dashboard; and I've changed the references in the dashboard, applications, prompts and filters by editing their XML from Catalog Manager.

Editing application that worked well, and I didn't run into any problems with the filters and the dashboard. However, responses seems to stop to acknowledge at least a prompt when I change the XML code. When then I copy this prompt again from the original folder and rename them, it is then recognized as a command prompt (although he always uses the wrong subject).

When I extract, modify and paste XML return (to change the references of subject area), the type of object in Catalog Manager password "Dashboard invite" to "coxmldocument1" and answers it shows with a different icon and cannot change it. If I change the XML code in place to change the domain names subject to the column blocks; then the Type of object in Catalog Manager is OK, but I still modify this prompt in responses.

A bunch of other guests has the fast object type for a while, but no show of type 'coxmldocument1 '. Answers will even not appear their folder in the sidebar, but if I try to save a request, I can see this issue in the record of the navigation options.

How can I change the guests without these problems, please? Why the folder is hidden in the selection pane, but not save it dialogue?

Thanks in advance for the help.

Only the reference in MetaLink is to a bug called "Impossible to copy the guests between catalogs in the catalog (Doc ID 554771.1) Manager" with the symptoms of "When copying a dashboard prompt in one catalog to another using the application Catalog Manager type rapid changes to 'coxmldocument1' instead of 'Dash invites'."

Cause

It is called question in 10.1.3.2 and the following bug is logged:

Bug 5990217: DASHBOARD GUEST COPIED as an OBJECT of TYPE COXMLDOCUMENT1 in ANY OF THE CATALOG MANAGERS

Tags: Business Intelligence

Similar Questions

  • "XML load error: invalid xml declaration ', SV Version 11.1.2.2.300 (Build 070)"

    Hello

    One of our users of Smart View has a new problem with their link of SV.  Woking in an ad hoc network, they changed some descriptions/names defined around Member and then all of a sudden received the error "XML load error: invalid xml declaration" so they were unable to overcome this error - even after completely logging on the company portal and record then back in.  They would get to the point of choosing an application workspace to connect under the table of connections shared for establishing a new ad hoc connection, but then this error still appears.

    Any ideas/suggestions on a solution?

    Thank you!

    Classic mistake with SmartView. The problem is that one last refreshed point of view users are stored in tables. It is a double-edged sword (part Nice is that's effective/downside, it's that sometimes breaks).

    The solution to this problem is remote in the SQL database behind HFM. Expand Databases ""-> HYPHFM (or similar)-> Tables-> find your application_USERPARAMS-> right click and edit top 200 rows. Find that users "USERMBRSEL" and delete the record.

    This should reset the stored view and allow the user to continue normal.

    Confirm this that my diagnosis is correct is to check if this user can access another application with the smartview, because this error is application specific.

  • Impossible to analyze your diet. Invalid XML: error on line 190: name of the "disabled" attribute associated with an element type "button" should be followed by the "=" character.

    Hello I am trying to download an episode of my Podcast podcast connect and get this error?

    Impossible to analyze your diet. Invalid XML: error on line 190: name of the "disabled" attribute associated with an element type "button" should be followed by the "=" character.

    my diet is validated? http://beprovidedhealthradio.libsyn.com/RSS

    It worked for my first episode? I don't know why it doesn't work for the second episode. I also use Libsyn if that helps.

    Your show is already in iTunes.

    https://iTunes.Apple.com/podcast/id1151562400?MT=2 & ls = 1

    And everything seems fine with it and your diet.  You ONLY SUBMIT YOUR FEED ONCE.

    That's it - better to stay outside of your podcast connect account - only bad things happen to go there and play with things.  Once again, your show is very well and is in iTunes and your flow is good with it.

    Both episodes show when you subscribe - and your most recent episode appears on the page of the iTunes, general store with in 24 hours from when you posted it.

    Rob W

    https://iTunes.Apple.com/us/podcast/beprovided-health-radio/id1151562400?MT=2 https://iTunes.Apple.com/us/podcast/beprovided-health-radio/id1151562400?MT=2

  • Visual Studio 2010 Side By Side error invalid XML syntax

    I spent much of last week trying to research and make changes of trial and error to solve this problem, and nothing has helped. I am full of ideas. I get exactly the same results on all programs, on which I worked in Visual Studio. I also had it on Visual Studio once, forcing me to have to reinstall Visual Studio to correct.

    The question:

    I have just published a new i7 Windows 7 x 64 system base to replace my old system of Windows 7 x 32 i3. They both have the latest patches and the latest .NET until 4.5.2. I also use Visual Studio 2010 with all the patches except service pack 1 (although I tried at a time with the service pack and it made no difference). I also tried 4.6.1, .NET and it made no difference. This new system is brand new, with very little installed outside Microsoft Office, SQL Server 2012 Management Studio and Visual Studio 2010, Windows 7.

    For these past years, I've worked on 6 programs different here (so far), and we use TFS for source code control. On the new system, I lower the code and it compiles properly for all solutions. I can run the programs of many times without any problem and the event logs show any problem of their execution.

    Then, after restarting the system, none of the program will run. When I try to run one of them, I get immediately a dialog modal system indicating that the application has failed to start because its side-by-side configuration is incorrect.

    When you look at the event log, I always get the following error next message:

    Activation context generation failed for "[program]". Manifest error or the folder policy "[program] .exe." Configuration"on line 1. Invalid Xml syntax.

    NOTE: replace [program] with the path + name of the given program.

    I use the system generated 'by default' unmodified manifest files. I tried to review them and files config in XMLNotepad, and no problem was indicated, except in the manifest, he noted that the first schema referenced file assembly.adaptive.xsd which was not anywhere.

    When you review the configuration file, the line in question is:

    The original line of the app.config from which it is copied is:

    If I remove the encoding = "Windows-1252" part, the program runs without incident, although .NET puts the right encoding of part in the first run. I tried to put the udf-8 coding and .NET simply replaces the encoding with the above value at the start of the program. After a reboot, it is unable to run again for the same reason, until I have change the configuration again. This isn't a solution long term for production code!

    If I change the project settings and disable the Click Once security settings and set the project do not generate a manifest, then he works constantly (several tracks to try again and several restarts without incident). However, I use Click Once to deploy updates, so it's not a useful alternative to long term because at the time wherever I try to publish to Click Once, it changes the security settings of full trust automatically and generates a manifest, triggering the problem even once. This also causes the advertised program with the same problem for everyone who gets the update.

    These programs all compiled and ran on my old system without incident, even after multiple system restarts. They also have deployment click once without problem, and the click once deployment took place without incident.

    It is as if .NET does not recognize the encoding "Windows-1252". And, since the only real difference between my old and new systems is the former is x 32 and the new is x 64, so I think it has something to do with the x 64 version. But that is only a guess.

    My new system is essentially unusable as a system of development because of this problem at the present time.

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • MS Outlook 2007 won't open - MOE of invalid XML

    When I try and open MS Office Outlook 2007, I get the following error message:
    Cannot start MS Outlook. Cannot open the Outlook window. Invalid XML the view cannot be downloaded.

    I have linked to my hotmail account outlook.

    When I try and open MS Office Outlook 2007, I get the following error message:
    Cannot start MS Outlook. Cannot open the Outlook window. Invalid XML the view cannot be downloaded.

    I have linked to my hotmail account outlook.

    Start > run (or Search) > outlook.exe /resetnavpane

    (Note the space between exe and /).
    If you find my answer helpful, please click the button "Vote as helpful"! Thank you! My Blog

  • Flash cfform error - INVALID_CHARACTER_ERR: an invalid XML character or illegal is specified. null

    I have a simple form using Flash which continues to give the following error message:
    INVALID_CHARACTER_ERR: An invalid XML character or illegal is specified. null

    I saw no problem and do not understand where is the null value, that it is. Any help would be greatly appreciated.
    Thanks in advance.

    You can't have a space in the name of the selection list

    Ken

  • Invalid XML in the file adapter

    Hello

    I created a file adapter that reads from a text file. And assign to a variable.

    I am facing a problem while playing the file. I get this error.

    "< invalidVariables xmlns ="http://schemas.oracle.com/bpel/extension "> < part name ="code"> < code > < code > 9710"
    < / part > < a name = "summary" part > < document xml invalid summary >.
    According to the xml schemas, the xml document is not valid. The reason is: Error:cvc - complex - type. 2.4.b: the content of the element "ReadRecord" is not over. A the "{" "http://TargetNamespace.com/ReadFileAdapter": root}' is expected. "

    Please make sure that the xml document is valid against your schemas.
    < / Summary >
    < / piece > < / invalidVariables >

    and my xsd is

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

    "" < xsd: Schema container = "http://www.w3.org/2001/XMLSchema"
    "xmlns:nxsd ="http://xmlns.oracle.com/pcbpel/nxsd"
    "targetNamespace ="http://TargetNamespace.com/InboundService"
    "xmlns:TNS ="http://TargetNamespace.com/InboundService"
    elementFormDefault = "qualified".
    attributeFormDefault = "unqualified" nxsd: encoding = "ASCII" nxsd:stream = "print" nxsd:version = "NXSD" >
    < xsd: element name = "ReadRecord" >
    < xsd: complexType >
    < xsd: SEQUENCE >
    < xsd: element name = "C1" type = "xsd: String" nxsd:style = 'completed' nxsd:terminatedBy = ',' nxsd:quotedBy = "' & quot;" > "
    < / xsd: element >
    < xsd: element name = "C2" type = "xsd: String" nxsd:style = 'completed' nxsd:terminatedBy = nxsd:quotedBy ' ${eol} "=" "& quot;" > "
    < / xsd: element >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: element >
    < / xsd: Schema >

    And my input file is

    ABCD, efgh

    Some can help me with this... I can't find a solution for 4 days.

    If you have a Secretary of the poll file from your service adapter, then you can NOT manually, call service... If you look carefully the EM console service page, button 'Test' would be hidden... because you can't test it. You can only call the service by putting the file. I'm not sure, how will call you the service and display of XML message.

  • Invalid XML schema model.

    Hello.
    We try to validate xml on an xml schema, and we saw a few inconsistencies. First, Oracle seems to take the model of data validation if the value of the node is empty. We can check that in the PL/SQL code. But he also refused to validate valid values.

    Example:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for HPUX: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    declare
        esquema clob := '<xs:schema attributeFormDefault="unqualified" 
        elementFormDefault="qualified" 
        xmlns:xs="http://www.w3.org/2001/XMLSchema" 
        targetNamespace="http://servicios.mycompany.com/Test" 
        xmlns="http://servicios.mycompany.com/Test">
        <xs:element name="node">
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="inner1" type="regType" />
                </xs:sequence>
            </xs:complexType>
        </xs:element>
        <xs:simpleType name="regType">
            <xs:restriction base="xs:string">
                <xs:minLength value="1" />
                <xs:pattern value="((\-)?(([0-9])|([0-9][0-9])|([0-9][0-9][0-9]))(\.[0-9][0-9][0-9]){0,4},[0-9][0-9])" />
            </xs:restriction>
        </xs:simpleType>
    </xs:schema>';
    BEGIN   
        DBMS_XMLSCHEMA.DELETESCHEMA
                             ( 'schema.xsd'                                              
                             , DBMS_XMLSCHEMA.DELETE_INVALIDATE 
                             );          
       DBMS_XMLSCHEMA.REGISTERSCHEMA(
         SCHEMAURL => 'schema.xsd',
         SCHEMADOC => esquema,
         LOCAL     => TRUE,
         GENTYPES  => FALSE,
         GENBEAN   => FALSE,
         GENTABLES => FALSE,
         FORCE     => FALSE
         );
    END;
    /
    
    declare
      xmlT clob := '<?xml version="1.0" encoding="utf-8"?>
    <tns:node xmlns:tns="http://servicios.mycompany.com/Test" 
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
         >
        <tns:inner1>75.000,00</tns:inner1>
    </tns:node>';
    xmlV xmltype;
    begin
        xmlv := xmltype.createXml(xmlT,'schema.xsd');
        xmlv.schemaValidate();
    end;
    /
    Any help?

    Thank you.

    Hello

    First, Oracle seems to take the model of data validation if the value of the node is empty. We can check that in the PL/SQL code. But he also refused to validate valid values.

    I changed the template string, logically equivalent, but it seems to work better.
    If you want to allow blank nodes, use minLength = 0 and make the model accepts it:

    
        
        
    
    
  • Invalid xml declaration in MS word to xml loading

    Hello
    I want to develop relationships of eBusinessSuite with the XML editor. I build a competitor and I'm running to get the XML output. This output that I saved locally for use with MS Word to create model *.rtf. I'll show you the header of this file

    <? XML version = "1.0" encoding = "UTF-8"? >
    -<!
    Generated by the Oracle version 10.1.2.0.2 reports
    ->
    -< AR_TEST >
    -< LIST_G_1 >
    -< G_1 >
    < PERIOD_NAME > dec-95 < / PERIOD_NAME >
    < START_DATE > 1 December 95 < / START_DATE >
    < end_date > 31 December 95 < / end_date >
    < PERIOD_SET_NAME > accounting < / PERIOD_SET_NAME >
    Month < PERIOD_TYPE > < / PERIOD_TYPE >
    < NEW_PERIOD_NUM > 1 < / NEW_PERIOD_NUM >
    < / G_1 >
    -< G_1 >
    < PERIOD_NAME > Jan-96 < / PERIOD_NAME >
    < START_DATE > January 1, 96 < / START_DATE >

    When I use the utility add-in Office XML Publisher from MS Word 5.6.2 I get the following: xml declaration invalid (which seems to be in line 1 error)
    Can you tell me why?
    TIA,
    Aurel

    A fixed gaze and compare. The excerpt you posted looks like it's from XML in a browser rather than XML in a text file. If you have a good XML file, similar to what you're trying to use right now, do you see the extra dashes/hyphens before tags? Probably not.

  • Invalid XML in matlab with IMAQdx

    I'm trying to interface with a GigE (SVS-Vistek svs4021) in Matlab 2009A camera, but I'm getting InvalidXML errors when I open the camera.  My goal is to create a wrapper dll .NET for IMAQdx controls that will open, enter and close the camera.

    Here's my progress so far:

    -Map of Intel PRO/1000 GT installed.  GigE driver NOT installed.

    -Connected to the camera in MAX.  It worked.  I could acquire images, change the shutter times, etc.

    Written-A a test in c# .NET and program dll.  It worked also.  I was able to acquire images and copy them into a table.  See below.

    -Loading dll .NET in Matlab (using NET.addAssembly).  I couldn't get a picture.  More investigation showed that I was getting 1074360291 error, failed to load the XML of the camera.

    I confess, write wrappers for DLLs .NET .NET is redundant.  I had to do it in the past for a dll not .NET and now my Matlab code expects.  I tried to load NationalInstruments.CWIMAQdx.Interop.dll directly in Matlab, but I got errors running CameraOpen().  I tried to avoid using Image Acquisition Toolbox of Matlab.  It costs $1,000 and I didn't count on the 30 day trial.

    Given that the c# code works, it must be something simple as referring to the incorrect dll or a directory.  Someone at - it ideas?  Is there an example of Matlab code to achieve this?

    Thank you

    Ryan

    ----------------------------------

    Here is an excerpt of my .NET dll c# code:

    public void Connect()
    {
    Status of CWIMAQdx.Error;
    Status = CWIMAQdx.OpenCamera ("cam0", CWIMAQdx.CameraControlMode.Controller, out sId);
    Console.WriteLine ("opening Camera-" + Status.ToString ());
    MessageBox.Show ("opening Camera-" + Status.ToString ());

    Status = CWIMAQdx.ConfigureGrab (sId);
    Console.WriteLine ("Configure Grab-" + Status.ToString ());
    MessageBox.Show ("Configure Grab-" + Status.ToString ());
    }

    (I use the MessageBox that I can see what is happening in Matlab).

    Hi Ryan,

    Ah, that's the problem... If you upgrade to a later version of IMAQdx it should solve your problem. Basically, we use a common component of GenICam (all GigE Vision publishers share this component) itself is based on Xerces. Old versions of GenICam used a not-so-unique-named version of Xerces and so he had the potential for conflict with other copies loaded in the same process that have been compiled with different compilers/settings. New versions of IMAQdx use a newer version of GenICam that uses particularly aptly named copies of Xerces that must not come into conflict.

    I updated to version 3.2 here:

    http://Joule.NI.com/nidu/CDs/view/p/ID/1099/lang/en

    Eric

  • Invalid XML File - clear can be treated

    I published my Captivate 5 courses SCORM 1.2.

    When I try to download and extract of the SGA, I get the following error mesasge:

    The IMS manifest file has no schema. Because the file is not an XML valid, impossible to treat the manifesto.

    Does anyone have a solution?

    You shouldn't have as spaces in an ID field name  So make sure that the name entered in your class identifier field and the fields of SCO identifier has no spaces or use underscores between words.  Additionally, make sure that you use exactly the same ID for the course and the SCO.

  • XML editing

    I'm having a hell of a time trying to get this webservice to work how I want that there. If I submit the application I want inside the < mx:request > tags it works great just as it should. But I need to dynamically create the query in xml format. So I wrote the code for it and it works perfect... except when I send that request to the wsdl adds flex is no longer the correct namespace to my XML that im sending just leave the tags as they are...
    So instead of:
    < tns:product > < tns:items > < tns:item > < tns: data > < / tns: data > < / tns:item > < / tns:items > < / tns:produc t >
    It sends:
    ... < product > < / product >
    Without any of the namespace prefix. And the webservice im sending to who likes not at all so it just won't...

    Then I tried a few things and are searching google for days nothing will do.
    I sent the query like this:
    WS. Send (xmlcounts);
    And this of course does not work since it does not change the namespace prefix, so I tried binding the XML in the query like this:
    {xmlcounts} < mx:request > < / mx:request >
    And that does not even send a thing! and xmlcounts is filled with challenge!

    Then I tried to add a namespace to the XML document and that only changes the node root and any of the child nodes, WHICH does not work either.

    I'm out of options on what to try, someone please help.
    Thank you

    Thanks a lot, the man that you put me on the right track.
    I managed to do work by assigning to each namespace nodes then doing this option to add child nodes:
    var xmlcounts4:XML = ;
    xmlcounts4. SetNamespace (tnsNS);

    xmlcounts4.tnsNS::name = "Blue";

    And who would add the child node to point like this:

    Blue

    Kind of stupid way works, but at least it works. Thanks again.

  • Validating XML against XSD LSX-00249: invalid date or time (ISODateTime)

    Hello again...
    After having problems with my schema validation, I have a new...
    Now the problem is with ISODateTime...

    Here's some code from XSD:
    The problem in the process of validation with 'CreDtTm '...
    - <xs:complexType name="GroupHeader39">
    - <xs:sequence>
      <xs:element name="MsgId" type="Max35Text" /> 
      <xs:element name="CreDtTm" type="ISODateTime" /> 
      <xs:element name="Authstn" type="Authorisation1Choice" minOccurs="0" maxOccurs="2" /> 
      <xs:element name="NbOfTxs" type="Max15NumericText" /> 
      <xs:element name="CtrlSum" type="DecimalNumber" minOccurs="0" /> 
      <xs:element name="InitgPty" type="PartyIdentification32" /> 
      <xs:element name="FwdgAgt" type="BranchAndFinancialInstitutionIdentification4" minOccurs="0" /> 
      </xs:sequence>
      </xs:complexType>
    Here's my pice of XML
    <GrpHdr>
             <MsgId>400340878</MsgId>
             <CreDtTm>2012-11-15T11:06:44</CreDtTm>
             <NbOfTxs>201</NbOfTxs>
             <CtrlSum>5790.82</CtrlSum>
    After validation, I get this error:

    ORA-31154: invalid XML document
    ORA-19202: an error has occurred in the processing of XML
    LSX-00249: invalid date or time "2012-11 - 15 T 11: 06:44, 000000.


    Database:
    Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production


    Thanks for any help

    Published by: peterv6i.blogspot.com on November 16, 2012 13:49

    Very similar problem discussed in this thread: {: identifier of the thread = 2420160}

    SQL> declare
      2    l_xml xmltype;
      3  begin
      4    l_xml := xmltype(bfilename('TEST_DIR','sepa.xml'), nls_charset_id('AL32UTF8'));
      5    l_xml.schemaValidate();
      6  end;
      7  /
    declare
    *
    ERROR at line 1:
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00249: invalid date or time "2009-09-04T14:25:00,000000"
    ORA-06512: at "SYS.XMLTYPE", line 354
    ORA-06512: at line 5
    
    SQL> alter session set nls_numeric_characters = ".,";
    
    Session altered.
    
    SQL> declare
      2    l_xml xmltype;
      3  begin
      4    l_xml := xmltype(bfilename('TEST_DIR','sepa.xml'), nls_charset_id('AL32UTF8'));
      5    l_xml.schemaValidate();
      6  end;
      7  /
    
    PL/SQL procedure successfully completed.
    
  • Schema validation fails on the transformed XML document

    OK, this is weird.

    I get XML files that are supposed to conform to a given XSD. There are dozens of different parties who send these files. To be more precise, I refer to the Ontario Energy Board (OEB) PIPE Documents.

    I found that at least one sender sends invalid files. I can't that fixes to the source, so I'm working around that.

    for example
    <?xml version="1.0" encoding="UTF-8"?>
    <PIPEDocument  xmlns="http://www.oeb.gov.on.ca" 
                              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                              xsi:schemaLocation="http://www.oeb.gov.on.ca/ PIPEDocument.xsd" 
                              Version="4.0" 
                              DocumentReferenceNumber="xxx" CreationDate="20110825100008000ES">
    <MarketParticipantDirectory>
    <Sender>
    ...
    Oracle is not like this:
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00344: namespace values "http://www.oeb.gov.on.ca" and "http://www.oeb.gov.on.ca/" differ
    OK, so to work around this problem, before schema validation, I apply an XSLT transformation to clean the top-level element:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.oeb.gov.on.ca">
    <xsl:output method="xml" indent="no"/>
    
    <xsl:template match="/">
        <xsl:copy>
          <xsl:apply-templates/>
        </xsl:copy>
    </xsl:template>
    
    <xsl:template match="*">
        <xsl:if test="local-name() = name()">
                <xsl:element name="{local-name()}">
                  <xsl:apply-templates select="@*|node()"/>
                </xsl:element>
        </xsl:if>
    </xsl:template>
    
    <xsl:template match="@*">
        <xsl:if test="local-name() = name()">
                <xsl:attribute name="{local-name()}">
                  <xsl:value-of select="."/>
                </xsl:attribute>
        </xsl:if>
    </xsl:template>
    </xsl:stylesheet>
    Nice: the fact that it is intended for:
    <?xml version="1.0" encoding="UTF-8"?>
    <PIPEDocument xmlns="http://www.oeb.gov.on.ca" 
                             Version="4.0" 
                             DocumentReferenceNumber="50520110825080908VA0001.EBT" 
                             CreationDate="20110825100008000ES">
    <MarketParticipantDirectory>
    <Sender>
    ...
    If I now the schema validate the above transformed XML, then it validates OK.

    Large? No, if I try to turn on the fly (i.e. without first transformation and followed by reading in the transformed data from the file), I get a strange error:
    declare
     v_xml xmltype := xmltype(bfilename('ERS_FILE_LOAD_308', 'DecryptedFile-30873604.xml'), 0).transform(XDBURIType('/ERS_TEST01/PIPE/XSLT/V1.0/pre_validate_XSLT.xsl').getXML());
     v_xsd_name varchar2(255) := 'PIPE/Power/V4.0/PIPEDocument.xsd'; 
    begin
    if v_xml.isSchemaValid(v_xsd_name) = 1 then 
           dbms_Output.put_line('valid');
        else
           dbms_Output.put_line('invalid');
           
           --in order to get specific error info for a non-schema message need to convert the XML to schema based
           
           v_xml := v_xml.createSchemaBasedXML(v_xsd_name);
          
           v_xml.schemaValidate();               
           
        end if;  
    end;
    /
    ORA-31043: Element '' not globally defined in schema ''
    Exsqueeze me? What element in the schema?

    The transformation itself works very well. Specifically, if I run the following:
    select xmltype(bfilename('ERS_FILE_LOAD_308', 'DecryptedFile-30873604.xml'), 0).transform(XDBURIType('/ERS_TEST01/PIPE/XSLT/V1.0/pre_validate_XSLT.xsl').getXML()).getclobval() from dual;
    ... I get the desired result. Of course, if I save the result file and validate the fact that it works:
    declare
     v_xml xmltype := xmltype(bfilename('ERS_FILE_LOAD_308', 'DecryptedFile-30873604_manually_saved.xml'), 0);
     v_xsd_name varchar2(255) := 'PIPE/Power/V4.0/PIPEDocument.xsd'; 
    begin
    if v_xml.isSchemaValid(v_xsd_name) = 1 then 
           dbms_Output.put_line('valid');
        else
           dbms_Output.put_line('invalid');
           
           --in order to get specific error info for a non-schema message need to convert the XML to schema based
           
           v_xml := v_xml.createSchemaBasedXML(v_xsd_name);
          
           v_xml.schemaValidate();               
           
        end if;  
    end;
    /
    I would like to join example XML file, but it contains customer data so I can't do that. I would fix the XSD but it is the nest of a rat of 50 XSD with includes and a 300 script online registration scheme, so I can't do that.

    What I'm missing here?

    Looks like an Oracle bug for me at this isSchemaValid binds to a beginning of the XML instance and not to the instance transformed.

    thoughts?

    (using database Oracle 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production under linux)

    Published by: Pollocks01 on October 18, 2011 16:11

    Hello

    Looks like an Oracle bug for me at this isSchemaValid binds to a beginning of the XML instance and not to the instance transformed.

    That wouldn't be surprising. There are "few" bugs on the XSL transformation.
    Here's a recently posted: {: identifier of the thread = 2245703}

    The solution was to serialize the output and analyze again.
    So, what you describe on 'reading of a works file' makes me think it's the same kind of problem.

    You can also view the contents of the variable just after that:

    v_xml := v_xml.createSchemaBasedXML(v_xsd_name);
    

    ?

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

Maybe you are looking for

  • HPOfficejet 8620: print

    I have just set up this printer, having had a 8600 front.  It seems to take forever to print once gave the command to the computer.  Sometimes it just doesn't print at all.  It'sfrustrating.  someone at - he a solsution to that?

  • Impossible to connect to the internet code 31 does not update the code of 31 drivers

    Windows vista cannot connect to internet code 31

  • My windows media player does not start!

    I received this error message when I try to start my windows media player! I tried to reinstall and everything, but it did not work! Anyone know what to do? = (Thank you!

  • Windows 7 hangs after mode 'sleep'

    I saw this question in previous discussions but non of the suggestions helped solve this problem on my workstation. I am running Windows 7 Home premium and off late (1 month or more) after the brief windows sleep the computer must be restarted to fun

  • BlackBerry Smartphones Intellisync in Desktop Manager

    Recently, I installed Desktop Manager to my Pearl 8110. I have tried to sync my e-mail folders and messages sent to my MS Outlook, but could not find the option to do so. I studied the possibility of finding a reconciliation wireless through personal