Creating the DTD tag in an XML Documento

I am using the Xalan XLST Transformer to generate XML documents.
I want to include a DTD tag in each XML file and in my programs I create it using the following code:
DocumentType dt = documento.getImplementation().createDocumentType(nombreDTD, nombreDTD, nombreArchivo);
documento.appendChild(dt);
..The variable documento is the root element of the document, nombreDTD is the name identifying the root element tag, nombreArchivo is the name of the DTD file I want to reference.
However when the XML output is generated, the DTD tag is always missing.
Do anybody have any idea what might be causing this?
Thanks,
Color

XSLT has its own method of putting the DTD information in the XML it creates. Include an xsl:output element in your XSL transformation like this:
<xsl:output doctype-public="..." doctype-system="..." />

Similar Messages

  • Can the "mode" tag in vhost.xml file be edited using getconfig() and setconfig()?

    can the "mode" tag in vhost.xml file be edited using getconfig() and setconfig()?

    You can create client and have following code in it: (But before that Admin Server is running on the machine which you want make edge server programatically)
    var admin_nc = new NetConnection();
    sendCommand.enabled = false;   // where sendCommand is button on stage with "sendCommand" as instance name
    admin_nc.onStatus = function(info) {
    if (info.code == "NetConnection.Connect.Success")
    sendCommand.enabled = true;
    sendBtn.addEventListener("click", callAdminAPI);
    function callAdminAPI() {
    admin_nc.call("setConfig2",new Result1(),"Proxy/Mode","remote","Adaptor:_defaultRoot_/VHost:_defaultVHost_");
    function Result1() {
          this.onResult = function(info) {
    if (info.code == "NetConnection.Call.Success" ) {
    admin_nc.call("startServer",new Result2(),"restart"); // you can might as well use restartVHost
    function Result2(){
    this.onResult = function(info) {
    if (info.code == "NetConnection.Call.Success" ) {
    trace("Server started successfully);
    admin_nc.connect("rtmp://<your Edge Server IP>:1111/admin","admin","admin");  //here admin/admin is userid/password of Admin of server

  • How to append the declaration tags to generated xml using Xquery

    Hi,
      How to append the declaration tags to generated xml using Xquery.generated XML is like
    <ROOT>
      <CHILD1></CHILD1>
      <CHILD2></CHILD2>
    </ROOT>
    Here I want to append the <?xml version="1.0" encoding="ISO-8859-1"?> and the result xml should be
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <ROOT>
      <CHILD1></CHILD1>
      <CHILD2></CHILD2>
    </ROOT>
    Can anybody help to do this.
    Thanks
    Mani

    First assign this element to a temp variable
    <ROOT>
      <CHILD1></CHILD1>
      <CHILD2></CHILD2>
    </ROOT>
    Now in XQuery expression create a new variable
    <?xml version="1.0" encoding="ISO-8859-1"?>
    $temp

  • Can't create the file "images/Dawings_By_Student_files/rss.xml." The disk may be damaged or full, or you may not have sufficient access privileges.

    I added two drawings to the web site I was working on in iweb..then tried to publish the changes and it gives me this "Can’t create the file “images/Dawings_By_Student_files/rss.xml.” The disk may be damaged or full, or you may not have sufficient access privileges."  Help I have no idea what to do.

    Try the troubleshooting steps under "Fix iWeb" here...
    http://www.iwebformusicians.com/iWeb/iWeb-Tips.html

  • Is the java tag in application.xml recognizable.

     

    Hi
    This was a bug in 7.0 it has been fixed in 7.0 sp1
    Ajay
    "Vasudha" <[email protected]> wrote in message
    news:[email protected]..
    >
    I am using Weblogic Server 7.0
    Vasudha.
    "Ajay" <[email protected]> wrote:
    Hi what version of the Server are you using?
    Ajay
    "Vasudha Upadhyaya" <[email protected]> wrote in message
    news:[email protected]..
    Is the <java> tag in application.xml recognizable.
    I have a EAR with a couple of EJB's and a JAR file(Java Client
    classes).If
    I package
    the JAR(Java Client classes) file and specify it as <java> tag in theapplication.xml
    the EAR file cannot be deployed.
    If I remove the JAR(Java Client classes) from the EAR and the <java>tag
    from
    the application.xml then the EAR file is deployed(EAR has only EJB's).
    Can anyone help me on this.
    Thanks,
    Vasudha.

  • How to create the customizing TAG coloum in So10  transaction

    Hi All,
      I need to create the Tag Coloum in in SO10 ( standard text) transaction .
    Basically i want to create the customised tag format and attach it to the format where we will see all the standard tag in so10.
      I need to create the TAG in which first line should be start from 0.00 and from the second line onwards it should be start from the 2.3 .
    Dhiraj.

    Dhiraj,
    What you will have to do is to create a separate STYLE in sMART FORMS transaction and assign that STYLE to the TEXT in S010. You can do that Format --> Change STYLE.
    The tag column contains format keys which define the output formatting of the text or initiate control commands. The format keys possible and their respective meanings are defined in styles or forms. If a style or form is assigned to a text module you can use the paragraph formats defined there to format your text. Format keys which can be defined by the user can consist of one or two characters.
    I have not tried this though.
    regards,
    Ravi
    Note : Please mark the helpful answers

  • How to mention the "dtd" file when loading xml file

    i am using the JAXP parser for parsing and loading my xml file.In the file i have mentioned the dtd like
    <!DOCTYPE screensmanagement SYSTEM "scrReg.dtd">
    But after doing some manipulations, when i save the file through JAXP parser at the same location from where i loaded, then "dtd header" is not saved with my xml File and when i again parse the xml file then parser does not find the "dtd" file coz it is not been saved with xml source.
    How can i get aroud this problem.
    Merry Chrismis

    when serializing the DOM, use this: transformer.setOutputProperty(OutputKeys.DOCTYPE_SYSTEM, scrReg.dtd");
    Merry Chrasmas too ;-)

  • DTD + Schema reference in xml file to be inserted

    Hi,
    I am pasting sample code where I want to have schema + DTD reference. Schema file is used for validating the file and DTD is needed for entity resolution.
    <?xml version="1.0" ?>
    <!DOCTYPE html [
    <!ENTITY reg    "®">
    ]>
    <html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.xsd">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <meta http-equiv="Content-Script-Type" content="text/javascript" />
    </head>
    <!-- class="header" -->
    <body>
    Hi all. Register symbol should be displayed now &reg;
    </body>
    </html>I have already registered http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.xsd schema with the DB. But, when I try to insert this xml data in the DB, I'm getting the following error.
    SQL Error: ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00104: Warning: element "html" is not declared in the DTD
    Error at line 5
    ORA-06512: at "SYS.XMLTYPE", line 296
    ORA-06512: at line 1
    31011. 00000 -  "XML parsing failed"
    *Cause:    XML parser returned an error while trying to parse the document.
    *Action:   Check if the document to be parsed is valid.Anyone please help me in resolving this issue..
    Thanks in advance,
    Divya.
    Edited by: user11853430 on Nov 28, 2010 8:45 PM

    Thanks for the information. I assume you are intending using Schema Based Binary XML storage. Attempting to use Object Realtional storage for XHTML is not something we would recommend. I am checking with development to see if we have a way of using the DTD just for entity resolution. In the mean time the only other solution I can think of it to include the full or partial DTD for XHTML in addition to the entity defintion..
    I tried this, but it doesn't seem to work
    SQL> select XMLTYPE(
      2  '<?xml version="1.0" ?>
      3  <!DOCTYPE html [
      4  <!ENTITY reg    "r">
      5  <!ELEMENT html ANY>
      6  ]>
      7  <html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.xsd">
      8    <head>
      9      <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
    10      <meta http-equiv="Content-Style-Type" content="text/css" />
    11      <meta http-equiv="Content-Script-Type" content="text/javascript" />
    12    </head>
    13
    14  <!-- class="header" -->
    15    <body>
    16      Hi all. Register symbol should be displayed now &reg;
    17     </body>
    18  </html>') from dual
    19  /
    ERROR:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00106: Warning: attribute "xmlns:xsi" of element "html" is undefined
    Error at line 6
    ORA-06512: at "SYS.XMLTYPE", line 310
    ORA-06512: at line 1
    no rows selectedWhat you want is the DTD equivilant of
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xs:element name="html" type="xs:anyType">
              <xs:annotation>
                   <xs:documentation>Comment describing your root element</xs:documentation>
              </xs:annotation>
         </xs:element>
    </xs:schema>I also tried making the xhtml-strict DTD available... but that did not appear to work
    First load the DTD and ENT files into the repository.
    C:\xdb\examples\DTD>sqlplus /nolog @loadDTD %CD%
    SQL*Plus: Release 11.2.0.2.0 Production on Sat Nov 27 10:55:32 2010
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    SQL> spool loadDTD.log
    SQL> --
    SQL> connect system/oracle
    Connected.
    SQL> --
    SQL> create or replace directory XMLDIR as '&1'
      2  /
    old   1: create or replace directory XMLDIR as '&1'
    new   1: create or replace directory XMLDIR as 'C:\xdb\examples\DTD'
    Directory created.
    SQL> --
    SQL> declare
      2    V_RESULT             BOOLEAN;
      3    V_DTD_FOLDER         VARCHAR2(700) := '/sys/DTD';
      4    V_DTD_TRANSITIONAL   VARCHAR2(700) := '/sys/DTD/xhtml1-transitional.dtd';
      5    V_DTD_STRICT         VARCHAR2(700) := '/sys/DTD/xhtml1-strict.dtd';
      6    V_DTD_STRICT_REG     VARCHAR2(700) := '/sys/DTD/xhtml1-strict+reg.dtd';
      7    V_ENT_LAT1           VARCHAR2(700) := '/sys/DTD/xhtml-lat1.ent';
      8    V_ENT_SYMBOL         VARCHAR2(700) := '/sys/DTD/xhtml-symbol.ent';
      9    V_ENT_SPECIAL        VARCHAR2(700) := '/sys/DTD/xhtml-special.ent';
    10  begin
    11    if (not DBMS_XDB.existsResource(V_DTD_FOLDER)) then
    12      V_RESULT := DBMS_XDB.createFolder(V_DTD_FOLDER);
    13    end if;
    14    if (not DBMS_XDB.existsResource(V_DTD_TRANSITIONAL)) then
    15      V_RESULT := DBMS_XDB.createResource(V_DTD_TRANSITIONAL,bfilename('XMLDI
    R','xhtml1-transitional.dtd'));
    16    end if;
    17    if (not DBMS_XDB.existsResource(V_DTD_STRICT)) then
    18      V_RESULT := DBMS_XDB.createResource(V_DTD_STRICT,bfilename('XMLDIR','xh
    tml1-strict.dtd'));
    19    end if;
    20    if (not DBMS_XDB.existsResource(V_DTD_STRICT_REG)) then
    21      V_RESULT := DBMS_XDB.createResource(V_DTD_STRICT_REG,bfilename('XMLDIR'
    ,'xhtml1-strict+reg.dtd'));
    22    end if;
    23    if (not DBMS_XDB.existsResource(V_ENT_LAT1)) then
    24      V_RESULT := DBMS_XDB.createResource(V_ENT_LAT1,bfilename('XMLDIR','xhtm
    l-lat1.ent'));
    25    end if;
    26    if (not DBMS_XDB.existsResource(V_ENT_SYMBOL)) then
    27      V_RESULT := DBMS_XDB.createResource(V_ENT_SYMBOL,bfilename('XMLDIR','xh
    tml-symbol.ent'));
    28    end if;
    29    if (not DBMS_XDB.existsResource(V_ENT_SPECIAL)) then
    30      V_RESULT := DBMS_XDB.createResource(V_ENT_SPECIAL,bfilename('XMLDIR','x
    html-special.ent'));
    31    end if;
    32    commit;
    33  end;
    34  /
    PL/SQL procedure successfully completed.
    SQL> select ANY_PATH
      2    from RESOURCE_VIEW
      3   where under_path(RES,'/sys/DTD') = 1
      4  /
    ANY_PATH
    /sys/DTD/xhtml-lat1.ent
    /sys/DTD/xhtml-special.ent
    /sys/DTD/xhtml-symbol.ent
    /sys/DTD/xhtml1-special.ent
    /sys/DTD/xhtml1-strict+reg.dtd
    /sys/DTD/xhtml1-strict.dtd
    /sys/DTD/xhtml1-symbol.ent
    /sys/DTD/xhtml1-transitional.dtd
    8 rows selected.
    SQL> quit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64
    bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    C:\xdb\examples\DTD>However even after adding the references to the XML document
    SQL> select XMLTYPE(
      2  '<?xml version="1.0" ?>
      3  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      4          "/sys/DTD/xhtml1-strict+reg.dtd">
      5  <html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.xsd">
      6    <head>
      7      <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
      8      <meta http-equiv="Content-Style-Type" content="text/css" />
      9      <meta http-equiv="Content-Script-Type" content="text/javascript" />
    10    </head>
    11
    12  <!-- class="header" -->
    13    <body>
    14      Hi all. Register symbol should be displayed now &reg;
    15     </body>
    16  </html>') from dual
    17  /
    ERROR:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00217: invalid character 402 (U+0192)
    Error at line 3
    Error at line 34
    Error at line 25
    ORA-06512: at "SYS.XMLTYPE", line 310
    ORA-06512: at line 1
    no rows selected
    SQL>

  • Cannot change the host name in registry.xml

    After installing WebLogic 10.3.3 on Oracle VM template, the regsitry.xml and registry.dat files cannot be changed to reflect the hostname of the VM Guest
    nstall WebLogic server in a OVM template. The host tag in registry.xml will contain the hostname from the template (e.g. firsttemp.oradev.inddev.national.com.in) .
    Create a guest using this OVM Template and the The host tag in registry.xml will still contain the hostname from the template (e.g. firsttemp.oradev.inddev.national.com.in) rather than the actual hsotname.
    I dont want to change it manually in the register.xml since it may cause problems in future
    any pointers are highly appreciated..

    It is not recommended to change the name for an IP addressIt is not recommended by who? AFAIK there is no such sentence in documentation.
    But there is other:
    host Required. Specify the host name or IP address of the database server computer.
    Instad of "It is not recommended..." better use "Consider this..."
    , as if ever it changes in the future, you'll have to be back and change once again your ip.The same is truth when we are speaking about FQDN (fully qualified domain name).
    How often your company changes the IP adresses on server platform?
    My experience from past:
    First case:
    My company has rebranded and and domain name has been changed but IP has not. Unfortunatelly we were not using OID for resolving. If there were FQDN used then would have to make changes in many files. Fortunatelly we were using IP addresses.
    Now we are using OID for resolving of tnsnames (as primary method).
    What I want to say is both solutions (FQDN or IP) are fine. Each of them has some advantages and also disadvantages.

  • HostnameVerificationIgnored  tag in config.xml

    I have configured SSL for WLS 8.1 sp1. I have 2 questions regarding the HostNameVerification
    setting..
    Initially, I set the HostnameVerificationIgnored="FALSE" in the <SSL> tag of config.xml.
    But the cmd window displayed the following message:
    <Dec 16, 2003 7:16:41 PM PST> <Info> <Management> <BEA-141034> <Java system property:
    weblogic.security.SSL.ignoreHostnameVerify = false.>
    This is expected. Now, changed HostnameVerificationIgnored="TRUE" in config.xml.
    Even now, it shows the exact same message!!
    <Dec 16, 2003 7:29:22 PM PST> <Info> <Management> <BEA-141034> <Java system property:
    weblogic.security.SSL.ignoreHostnameVerify = false.>
    Other than the timestamp, nothing has changed. This tells me that it is not reading
    the config.xml setting properly.
    There is NO entry for -Dweblogic.security.SSL.ignoreHostnameVerification in startweblogic.cmd
    either. I am not sure where is it picking this property from. But the cmd window
    always shows that it is false, regardless of my setting in config.xml.
    1) How can we verify that this is actually working the expected way...?
    2) Is there a bug in 8.1 - that it is failing to read the setting in config.xml
    correctly?
    Thanks,
    Anant

    Anant,
    How about you try to get the SSL MBean and check the attribute?
    Try using weblogic.Admin,
    java weblogic.Admin -username xx -password xxxxxxxx -url
    t3://localhost:7001 get -type SSL -property HostnameVerificationIgnored
    and see if the variable is properly set and the server is running with
    that attribute value.
    Thanks,
    -satya
    Anant Kadiyala wrote:
    I have configured SSL for WLS 8.1 sp1. I have 2 questions regarding the HostNameVerification
    setting..
    Initially, I set the HostnameVerificationIgnored="FALSE" in the <SSL> tag of config.xml.
    But the cmd window displayed the following message:
    <Dec 16, 2003 7:16:41 PM PST> <Info> <Management> <BEA-141034> <Java system property:
    weblogic.security.SSL.ignoreHostnameVerify = false.>
    This is expected. Now, changed HostnameVerificationIgnored="TRUE" in config.xml.
    Even now, it shows the exact same message!!
    <Dec 16, 2003 7:29:22 PM PST> <Info> <Management> <BEA-141034> <Java system property:
    weblogic.security.SSL.ignoreHostnameVerify = false.>
    Other than the timestamp, nothing has changed. This tells me that it is not reading
    the config.xml setting properly.
    There is NO entry for -Dweblogic.security.SSL.ignoreHostnameVerification in startweblogic.cmd
    either. I am not sure where is it picking this property from. But the cmd window
    always shows that it is false, regardless of my setting in config.xml.
    1) How can we verify that this is actually working the expected way...?
    2) Is there a bug in 8.1 - that it is failing to read the setting in config.xml
    correctly?
    Thanks,
    Anant

  • Did the code tag implementation change?

    Over in the UIX forum, we have been relying on the ability to embed XML content inside of a "code" tag - and for as long as I can remember this would automatically escape HTML/XML start/end tags so that they would be displayed in the message content. For example, users have been posting uiXML samples like this:
    (Note, in this sample I have added a trailing whitespace in the opening code tag so that the forum software will display the tag instead of interpret it. Also, I have explicitly escaped &lt; and &gt; myself so that they will be displayed.)
    [code ]
    &lt;messageTextInput id="whatever"
    name="neededName"
    prompt="Prompt 2"&gt;
    &lt;boundMessage select="error2"/&gt;
    &lt;/messageTextInput&gt;
    Previously, the code tag would automatically handle escaping the open/close tag characters (&lt; and &gt;) to the appropriate character entities (&amp;lt; and &amp;gt;). This no longer seems to be happening. The end result is that embedded XML code is sent back to the browser unescaped, and ends up being interpreted by the browser as HTML - which generally makes such content unreadable. Here is what the above sample looks like now:
    [code ]
    <messageTextInput id="whatever"
    name="neededName"
    prompt="Prompt 2">
    <boundMessage select="error2"/>
    </messageTextInput>
    This change in behavior has two really bad consequences:
    1. This is making it very difficult to post uiXML samples, which means that users are having a hard time posting test cases, and the UIX team is having a hard time posting sample solutions.
    2. We have a large number of code samples that have been posted to the forum over the last year or so. All of these samples are now unreadable.
    Was there a change in behavior in how the code tag handles HTML/XML escaping? Can we get the old behavior back?
    Andy

    I really didn't mean to have smiley faces in my post - another interesting feature! What I meant to say was:
    "Previously, the code tag would automatically handle escaping the open/close tag characters, &lt; and &gt; , to the appropriate character entities: &amp;lt; and &amp;gt;."
    And actually, I forgot to take the whitespace out of my sample code tag - let me try posting the sample code one more time, this time inside of an actual code tag:
    <messageTextInput id="whatever"
                      name="neededName"
                      prompt="Prompt 2">
      <boundMessage select="error2"/>
    </messageTextInput>Andy

  • destination tag in bundle.xml is ignored

    We are developing an extension to JDeveloper.
    When our extension is downloaded through "Check for Updates", we want it to be unzipped under folder "${ORACLE_HOME}/jdeveloper", instead of the default location, which is "${ORACLE_HOME}/jdeveloper/jdev/extensions".
    For this, I added a "destination" tag to bundle.xml as specified here <http://ide.us.oracle.com/doc/Assemble_a_Check_for_Updates_Bundle>.
    However, JDeveloper does not seem to honor this tag, and the bundle zip file still gets extracted under "jdev/extensions" folder.
    Due to this "Check for Updates" seems to fail.
    How can I get "Check for Updates" to extract the bundle inside "${ORACLE_HOME}/jdeveloper"?

    Hi
    This was a bug in 7.0 it has been fixed in 7.0 sp1
    Ajay
    "Vasudha" <[email protected]> wrote in message
    news:[email protected]..
    >
    I am using Weblogic Server 7.0
    Vasudha.
    "Ajay" <[email protected]> wrote:
    Hi what version of the Server are you using?
    Ajay
    "Vasudha Upadhyaya" <[email protected]> wrote in message
    news:[email protected]..
    Is the <java> tag in application.xml recognizable.
    I have a EAR with a couple of EJB's and a JAR file(Java Client
    classes).If
    I package
    the JAR(Java Client classes) file and specify it as <java> tag in theapplication.xml
    the EAR file cannot be deployed.
    If I remove the JAR(Java Client classes) from the EAR and the <java>tag
    from
    the application.xml then the EAR file is deployed(EAR has only EJB's).
    Can anyone help me on this.
    Thanks,
    Vasudha.

  • Overriding the DTD reference in XML

    Hi
    I have an xml file which references a dtd within the DOCType tag. The problem I have is that currently the reference is as follows:
    file:///D:/castor/castor-0.9.3.21/castor-0.9.3.21/doc/mapping.dtd
    which makes it specific to my machine. This file along with many others is packaged into a jar and deployed on a application server. Does anyone know how to make the dtd referrence more generic. i.e how can i reference a dtd which is in the jar file which is deployed to the server.
    Currently i think weblogic does this in the deployment descriptors because it references a dtd on the web but gets one locally.
    Has anybody got any ideas
    All helpis greatly appreciated
    Thanks

    i dunno if there is a generic way of writing a SYSTEM uri that would look into a jar, so:
    * using DOM, I would create my own EntityResolver that would point the parser to the DTD located in the jar.
    * using SAX, I would do the same in the resolveEntity() method of my handler.

  • How to create a flat file without any xml tags in PI 7.0

    Hi
    I would like to take the content of the tiff-tag and map it to a file, which content is the value of the tiff-tag. How do I do that?
    source:
    <sourcexml>
       <tiff>dhlflfhlfhjhfjhfakjhfkjhfkjhfahflkhflahfalhfalhfldhflkahflak</tiff>
    </sourcexml>
    resulting content of file:
    "dhlflfhlfhjhfjhfakjhfkjhfkjhfahflkhflahfalhfalhfldhflkahflak"
    The point is, the the resulting file should not contain any xml tags but only the plain value of the tiff tag in the source document.
    Do I need to specify something in the receiver file adapter?
    tiff is an image format.
    BR
    Mikael

    Hi
    after the mapping and thus as input to the File receiver  CC the message looks like this:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:blob xmlns:ns0="http://dongenergy.dk/pi/zztest/milun">
      <indhold>tiffog dadada</indhold>
      </ns0:blob>
    Recordset Structure is set to "indhold,1"
    and the "lines" are
    indhold.addHeaderLine  = 0
    indhold.fieldSeparator = 'nl'
    A file is created but it is empty.
    Mikael

  • When running a scenario from Unix ( $ prompt)it cant found the DTD for xml

    Dear All,
    I have created an interface that extracts xml messages from JMS queue ( OC4J) successfully. After extracting the message from JMS queue, the interface parse the message and put into an oracle database.
    After when I have created a scenario from the above Interface and tried to run the scenario from $ promt in unix using startscen.sh, it is giving following error message.
    # call the configuration setup file--- Mandatory for running ODI scenario
    . $ODI_HOME/bin/odiparams.sh;
    # Call the scenario for getting Message from JMS queue
    . $ODI_HOME/bin/startscen.sh PKG_JMS_XML 001 GLOBAL "-v=5" | tee out_$$.txt;
    The error I am getting as below
    03/09/2009 05:09:40 PM(main): SnpExpTxt.getObjectLst : :
    [FirstDate:2009-03-09 17:09:40.0
    FirstUser:SUNOPSIS AGENT
    IndChange:null
    IntVersion:null
    ITxt:5194100
    LastDate:2009-03-09 17:09:40.0
    LastUser:SUNOPSIS AGENT
    Txt:0 : 08001 : java.sql.SQLException: Cannot load connection class because of underlying exception: 'java.sql.SQLException: No DTD found and no XML file provided: the XML schema cannot be created'.
    java.sql.SQLException: Cannot load connection class bec
    TxtOrd:0, FirstDate:2009-03-09 17:09:40.0
    FirstUser:SUNOPSIS AGENT
    IndChange:null
    IntVersion:null
    ITxt:5194100
    LastDate:2009-03-09 17:09:40.0
    LastUser:SUNOPSIS AGENT
    Txt:ause of underlying exception: 'java.sql.SQLException: No DTD found and no XML file provided: the XML schema cannot be created'.
         at com.sunopsis.jdbc.driver.JMSXMLDriver.connect(JMSXMLDriver.java)
         at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.
    TxtOrd:1, FirstDate:2009-03-09 17:09:40.0
    FirstUser:SUNOPSIS AGENT
    IndChange:null
    IntVersion:null
    ITxt:5194100
    LastDate:2009-03-09 17:09:40.0
    LastUser:SUNOPSIS AGENT
    Txt:java)
         at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
         at com.sunopsis.sql.i.run(i.java)
    TxtOrd:2]
    Anybody please help ?
    regards
    Umapada

    Hello,
    Try to remove and recreate your package and scenario, I had the same issue and solved doing it.
    It seems for me that the package cannot update its contents, for example, if you change something in your interface, you must recreate your package and scenario to update the changes.
    What ODI version do you use? If you use an old version, try to update to ODI 10.1.3.5
    Regards,
    Wallace Galvão
    São Paulo - Brazil

Maybe you are looking for