Problem in XML Generator

Hi,
I am facing a problem that i have created a form by XML Generator(Wizard) but after successfull complition there is User-id and Password two times and when i fill it,,it gives the error that "User-Id and Password is incorrect".
So plz tell me that which User-id and Password ll be given....
Thanx
Rai

Hi Rai,
There's no need to have multiple accounts for SDN - I just don't know what you mean by "XML Generator" ... (the B1DE toolset has an internal module that generates XMLs (for menus etc) - and actually that's called "XML Generator", but I don't think that you can call it explicitly...)
...maybe you were talking about the "...UDO form generator" (a separate tool in B1DE)?
...but anyway, I suspect that the reply from Yogesh was what you were looking for?
...sorry for the confusion,
Frank

Similar Messages

  • Problem with XML in APEX ORA-06502

    i, I have a problem with XML generation, I developed an application in APEX, and in a html page I have this process:
    declare
    l_XML varchar2(32767);
    begin
    select xmlElement
    "iva",
    xmlElement("numeroRuc",J.RUC),
    xmlElement("razonSocial", J.RAZON_SOCIAL),
    xmlElement("idRepre", J.ID_REPRE),
    xmlElement("rucContador", J.RUC_CONTADOR),
    xmlElement("anio", J.ANIO),
    xmlElement("mes", J.MES),
    xmlElement
    "compras",
    select xmlAgg
    xmlElement
    "detalleCompra",
    --xmlAttributes(K.ID_COMPRA as "COMPRA"),
    xmlForest
    K.COD_SUSTENTO as "codSustento",
    K.TPLD_PROV as "tpldProv",
    K.ID_PROV as "idProv",
    K.TIPO_COMPROBANTE as "tipoComprobante",
    to_char(K.FECHA_REGISTRO, 'DD/MM/YYYY') as "fechaRegistro",
    K.ESTABLECIMIENTO as "establecimiento",
    K.PUNTO_EMISION as "puntoEmision",
    K.SECUENCIAL as "secuencial",
    to_char(K.FECHA_EMISION, 'DD/MM/YYYY') as "fechaEmision",
    K.AUTORIZACION as "autorizacion",
    to_char(K.BASE_NO_GRA_IVA, 9999999999.99) as "baseNoGraIva",
    to_char(K.BASE_IMPONIBLE, 9999999999.99) as "baseImponible",
    to_char(K.BASE_IMP_GRAV, 9999999999.99) as "baseImpGrav",
    to_char(K.MONTO_ICE, 9999999999.99) as "montoIce",
    to_char(K.MONTO_IVA, 9999999999.99) as "montoIva",
    to_char(K.VALOR_RET_BIENES, 9999999999.99) as "valorRetBienes",
    to_char(K.VALOR_RET_SERVICIOS, 9999999999.99) as "valorRetServicios",
    to_char(K.VALOR_RET_SERV_100, 9999999999.99) as "valorRetServ100"
    xmlElement
    "air",
    select xmlAgg
    xmlElement
    "detalleAir",
    xmlForest
    P.COD_RET_AIR as "codRetAir",
    to_char(P.BASE_IMP_AIR, 9999999999.99) as "baseImpAir",
    to_char(P.PORCENTAJE_AIR, 999.99) as "porcentajeAir",
    to_char(P.VAL_RET_AIR, 9999999999.99) as "valRetAir"
    from ANEXO_COMPRAS P
    where P.ID_COMPRA = K.ID_COMPRA
    AND P.ID_INFORMANTE_XML = K.ID_INFORMANTE_XML
    xmlElement("estabRetencion1", K.ESTAB_RETENCION_1),
    xmlElement("ptoEmiRetencion1", K.PTO_EMI_RETENCION_1),
    xmlElement("secRetencion1", K.SEC_RETENCION_1),
    xmlElement("autRetencion1", K.AUT_RETENCION_1),
    xmlElement("fechaEmiRet1", to_char(K.FECHA_EMI_RET_1,'DD/MM/YYYY')),
    xmlElement("docModificado", K.DOC_MODIFICADO),
    xmlElement("estabModificado", K.ESTAB_MODIFICADO),
    xmlElement("ptoEmiModificado", K.PTO_EMI_MODIFICADO),
    xmlElement("secModificado", K.SEC_MODIFICADO),
    xmlElement("autModificado", K.AUT_MODIFICADO)
    from SRI_COMPRAS K
    WHERE K.ID IS NOT NULL
    AND K.ID_INFORMANTE_XML = J.ID_INFORMANTE
    AND K.ID BETWEEN 1 AND 25
    ).getClobVal()
    into l_XML
    from ANEXO_INFORMANTE J
    where J.ID_INFORMANTE =:P3_MES
    and J.RUC =:P3_ID_RUC
    and J.ANIO =:P3_ANIO
    and J.MES =:P3_MES;
    --HTML
    sys.owa_util.mime_header('text/xml',FALSE);
    sys.htp.p('Content-Length: ' || length(l_XML));
    sys.owa_util.http_header_close;
    sys.htp.print(l_XML);
    end;
    Now my table has more than 900 rows and only when I specifically selected 25 rows of the table "ANEXO_COMPRAS" in the where ( AND K.ID BETWEEN 1 AND 25) the XML is generated.+
    I think that the problem may be the data type declared "varchar2", but I was trying with the data type "CLOB" and the error is the same.+
    declare
    l_XML CLOB;
    begin
    --Oculta XML
    sys.htp.init;
    wwv_flow.g_page_text_generated := true;
    wwv_flow.g_unrecoverable_error := true;
    --select XML
    select xmlElement
    from SRI_COMPRAS K
    WHERE K.ID IS NOT NULL
    AND K.ID_INFORMANTE_XML = J.ID_INFORMANTE
    ).getClobVal()
    into l_XML
    from ANEXO_INFORMANTE J
    where J.ID_INFORMANTE =:P3_MES
    and J.RUC =:P3_ID_RUC
    and J.ANIO =:P3_ANIO
    and J.MES =:P3_MES;
    --HTML
    sys.owa_util.mime_header('text/xml',FALSE);
    sys.htp.p('Content-Length: ' || length(l_XML));
    sys.owa_util.http_header_close;
    sys.htp.print(l_XML);
    end;
    The error generated is ORA-06502: PL/SQL: numeric or value error+_
    Please I need your help. I don`t know how to resolve this problem, how to use the data type "CLOB" for the XML can be generate+

    JohannaCevallos07 wrote:
    Now my table has more than 900 rows and only when I specifically selected 25 rows of the table "ANEXO_COMPRAS" in the where ( AND K.ID BETWEEN 1 AND 25) the XML is generated.+
    I think that the problem may be the data type declared "varchar2", but I was trying with the data type "CLOB" and the error is the same.+
    The error generated is ORA-06502: PL/SQL: numeric or value error+_
    Please I need your help. I don`t know how to resolve this problem, how to use the data type "CLOB" for the XML can be generate+The likeliest explanation for this is that length of the XML exceeds 32K, which is the maximum size that <tt>htp.p</tt> can output. A CLOB can store much more than this, so it's necessary to buffer the output as shown in +{message:id=4497571}+
    Help us to help you. When you have a problem include as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s) (making particular distinction as to whether a "report" is a standard report, an interactive report, or in fact an "updateable report" (i.e. a tabular form)
    And always post code wrapped in <tt>\...\</tt> tags, as described in the FAQ.
    Thanks

  • No XML generated

    Hello experts,
    I have problem with generation of XML stack file for ERP Enhancement Package 4.
    I get warning message "No XML generated" in Maintenance Optimizer on the step 2.2 (Select OS/DB-Dependent Files)
    I get this message for Enhancement Package 4 only. For others products (like Stack 15 or EhP3) all ok.
    I have Solution Manager 7.0 with EhP1, SP stack 19.
    Thanks for advance.

    Hi Tomasz,
    I did following steps:
    1. Remove existing logical components of Java in SMSY
    2. Import the current data into SLD
    3. Create new logical components for Java in SMSY
    4. Try to load EhP4
    Read also this document
    http://service.sap.com/~sapidb/011000358700000293582009E.PDF

  • To remove "&amp" from XML generated file.

    Dear All,
    I am facing one problem, when XML file is getting generated.
    Here when ever special character comes like "&", it shows me in the output of XML file as "&amp".
    How should it be avoided? Pls require some suggestions.

    Dear Jorg,
    Ya that's absolutely true, as i am not getting any error but want to fix that because when i download that XML file, after that i have to again upload that to some portal.
    So i request for the solution if anything could be done with it.
    Thank You
    Vishvesh

  • The XML generated by the Lotus servlet component is not well formed

    Hello Experts,
    While integrating EP7 to Lotus Domino 7 we are facing some problem with XML parser.
    We have following configuration
    EP7 SP 13
    Lotus Domino 7
    All configurations related to SSO are done. SSO is working fine.
    All transports are created properly. All services active
    Please suggest some solution
    The error is displayed when i try to access the calendar related objects, like calendar, appointments etc.
    Here is error detail:
    The XML generated by the Lotus servlet component is not well formed com.sap.ip.collaboration.gw.impl.transport.lotus.exception.XMLParserException: The XML generated by the Lotus servlet component is not well formed
         at com.sap.ip.collaboration.gw.impl.transport.lotus.LotusCalendarTransport.getXmlDocument(LotusCalendarTransport.java:997)
         at com.sap.ip.collaboration.gw.impl.transport.lotus.LotusCalendarTransport.readResponse(LotusCalendarTransport.java:1922)
         at com.sap.ip.collaboration.gw.impl.transport.lotus.LotusCalendarTransport.getLotusServerTz(LotusCalendarTransport.java:405)
         at com.sap.ip.collaboration.gw.impl.transport.lotus.LotusCalendarTransport.getItemList(LotusCalendarTransport.java:377)
         at com.sap.ip.collaboration.gw.impl.framework.groupware.GroupwareManager.getItemList(GroupwareManager.java:263)
         at com.sap.ip.collaboration.gw.impl.manager.calendar.ContentManager.getChildren(ContentManager.java:237)
         at com.sapportals.wcm.repository.CollectionImpl.internalGetChildrenManager(CollectionImpl.java:1538)
         at com.sapportals.wcm.repository.CollectionImpl.internalGetChildren(CollectionImpl.java:1555)
         at com.sapportals.wcm.repository.CollectionImpl.doGetChildren(CollectionImpl.java:144)
         at com.sapportals.wcm.repository.CollectionImpl.getChildren(CollectionImpl.java:124)
         at com.sap.ip.collaboration.gwui.api.GWUtils.getAllCalendarItems(GWUtils.java:180)
         at com.sap.ip.collaboration.gwui.api.htmlb.component.day.DayControlDynPage.doProcessBeforeOutput(DayControlDynPage.java:65)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:123)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Waiting for replies
    Regards
    Kedar Kulkarni
    Do Not worry for points.

    Hello Michael Sambeth and all Lotus experts,
    I read about a tool for Lotus Domino Ticket Verifier that is delivered by SAP.
    Can you please send it to kedar.c.kulkarni @ gmail.com
    I actually posted a thread, but could not get any reply for SAP standard error: GW-LOT-014
    regards
    Kedar Kulkarni
    Edited by: Kedar Kulkarni on Apr 9, 2008 12:11 PM

  • Xml generated does not confirm to xsd. (xmlns="" added to some tags)

    Hi,
    I am getting a problem with the xml generated by bpel. The xml generated is:
    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body><xxSunEvsOkcEntlSrvsProcessResponse xmlns="http://xmlns.sun.com/xxSunEvsOkcEntlSrvs"><X_CONTRACT_ENTL_TYPE><X_CONTRACT_ENTL_TYPE_ITEM xmlns=""><CONTRACT_HDR>NK20226742</CONTRACT_HDR><BUP_PROC_TBL><BUP_PROC>ACCR</BUP_PROC></BUP_PROC_TBL></X_CONTRACT_ENTL_TYPE_ITEM></X_CONTRACT_ENTL_TYPE><X_ENTITLEMENT_FLAG>Y</X_ENTITLEMENT_FLAG><X_ERROR xsi:nil="true"/></xxSunEvsOkcEntlSrvsProcessResponse></soapenv:Body>
    </soapenv:Envelope>
    The client is unable to parse this xml due to the xmlns="" for the tag X_CONTRACT_ENTL_TYPE_ITEM. The problem is due to the copy on the bple. i am copying the entire structure starting from X_CONTRACT_ENTL_TYPE from the plsql DBAdapter service to the bpel output. The xsd used for the client wsdl and the partner link are exactly the same.
    Any ideas as to why this could be happening.
    Thanks
    Anand

    Basically this comes down to a complex xsd. I'm assuming but I think you are using namespaces to help manage the xsd.
    If you can minimise the xsd references this may help.
    here is a basic complex type example
    <schema targetNamespace="http://example.com/Gateway"
    xmlns="http://www.w3.org/2001/XMLSchema">
    <element name="Message">
    <complexType>
    <sequence>
    <element name="Header">
    <complexType>
    <sequence>
    <element name="UniqueID" type="string"/>
    <element name="RoutingRule" type="string"/>
    <element name="FileName" type="string"/>
    <element name="Destination" type="string"/>
    <element name="TransportType" type="string"/>
    <element name="Attachment" type="string"/>
    <element name="MQMessageID" type="string"/>
    <element name="MQCorrelationID" type="string"/>
    </sequence>
    </complexType>
    </element>
    <element name="Payload" type="base64Binary"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    hope this helps.
    James

  • Problem with XML on Linux

    hi everybody,
    I've a big problem with XML on Linux, in details I see my program stopping on Linux at the instruction
    XMLReader xr = XMLReaderFactory.createXMLReader("org.apache.crimson.parser.XMLReaderImpl");
    and it's strange because on Windows it runs and there aren't problems about permissions on files, does anyone knows what to do?
    thanks in advance!
    Stefano

    What happens on that line? I'm assuming you get some kind of error or exception.
    Make sure the JAR file for Crimson is in your classpath.

  • Unable to generate output due to huge xml generated

    Hello All,
    I am working on etext templates for generating EFT payments.
    When the payments are below 100 then the output is fine. But when it is crossing 100 payments then it is not producing any output.
    This is a standard rtf which I have modified and added some xpath conditions in the OutboundPayment table. I think because of xpath conditions the xml structure is modified internally and the xml generated is very huge.
    When I have used the original rtf without adding any conditions the output is produced for any number of payments.
    Can any one provide some help on this.

    sorry posted in wrong forum

  • Problem in xml query

    Hi
    I am working on BLS and having problem in xml query.I want to perform some calculation over xml columns.Than total of this as a new column.I can do this part in logic editor itself but can i do these both task by XSLT.
    Can be made our own XSLT for this ?
    I am feeling kind of fear to xslt. Can anybody help me in this.
    Thanks a lot in advance
    thomas

    Ram,
    In xMII there is a list of predefined xslt transforms that do something similar to what you are explaining.  The 3 that I think may be what you are looking for are
    they are under Calculation Transformations and Subtotal Transformation take a look at these and tell me if they are doing what you want to accomplish.  In the xMII help file do a search on Inline Transforms or navigate to Advanced Topics -> Inline Transforms -> Predefined Inline Transforms.  In this section there are examples of how to use these transforms and apply them in the query templates.  If this is not what you are looking for can you explain in a little more detail along with a simple example of how you want this transform to work.  Also why do you want to use xslt if you can already accomplish this in BLS?
    Regards,
    Erik

  • Facing problem in xml schema xsd file registration

    Hi,
    i am facing problem in xml schema xsd file registration when
    the number of column is more. It is showing persing error.
    if i am deleting few column from xsd file . It is working otherwise
    showing error. Is there any solution for that please suggest me.
    The Error is
    ORA-31011:XML parsing failed
    ORA_19202: Error occurred in XML processing
    LPX-00230 : (message vary time to time-like invalid tag ending etc.)
    Regards
    Manoranjan
    and thanks in advance

    Where is you XML coming from. Are you sure it's valid. If you are hard coding it as a SQL String constant are you hitting the 4k / 32K limit on the size of SQL / PL/SQL constant. Have you tried loading the content from a bfile..

  • Problem for xml generation using DBMS_XMLGEN

    Hi All,
    i have problem during xml generation using Any help would be highly appreciate
    how could we publish xml data using data base API DBMS_XMLGEN in oracle applications (APPS) i.e. at 'View Output" using
    Any help would be highly appreciate.
    Let me know if need more explanation, this is High priority for me.
    Thanks and Regards,
    [email protected]
    Message was edited by:
    user553699

    You can set the null attribute to true , so that the tag appears in your XML
    see the statement in Bold.
    DECLARE
    queryCtx dbms_xmlquery.ctxType;
    result CLOB;
    BEGIN
    -- set up the query context
    queryCtx := dbms_xmlquery.newContext(
    'SELECT empno "EMP_NO"
    , ename "NAME"
    , deptno "DEPT_NO"
    , comm "COMM"
    FROM scott.emp
    WHERE deptno = :DEPTNO'
    dbms_xmlquery.setRowTag(
    queryCtx
    , 'EMP'
    dbms_xmlquery.setRowSetTag(
    queryCtx
    , 'EMPSET'
    DBMS_XMLQUERY.useNullAttributeIndicator(queryCtx,true);
    dbms_xmlquery.setBindValue(
    queryCtx
    , 'DEPTNO'
    , 30
    result := dbms_xmlquery.getXml(queryCtx);
    insert into clobtable values(result);commit;
    dbms_xmlquery.closeContext(queryCtx);
    END;
    select * from clobtable
    <?xml version = '1.0'?>
    <EMPSET>
    <EMP num="1">
    <EMP_NO>7499</EMP_NO>
    <NAME>ALLEN</NAME>
    <DEPT_NO>30</DEPT_NO>
    <COMM>300</COMM>
    </EMP>
    <EMP num="2">
    <EMP_NO>7521</EMP_NO>
    <NAME>WARD</NAME>
    <DEPT_NO>30</DEPT_NO>
    <COMM>500</COMM>
    </EMP>
    <EMP num="3">
    <EMP_NO>7654</EMP_NO>
    <NAME>MARTIN</NAME>
    <DEPT_NO>30</DEPT_NO>
    <COMM>1400</COMM>
    </EMP>
    <EMP num="4">
    <EMP_NO>7698</EMP_NO>
    <NAME>BLAKE</NAME>
    <DEPT_NO>30</DEPT_NO>
    <COMM NULL="YES"/>
    </EMP>
    <EMP num="5">
    <EMP_NO>7844</EMP_NO>
    <NAME>TURNER</NAME>
    <DEPT_NO>30</DEPT_NO>
    <COMM>0</COMM>
    </EMP>
    <EMP num="6">
    <EMP_NO>7900</EMP_NO>
    <NAME>JAMES</NAME>
    <DEPT_NO>30</DEPT_NO>
    <COMM NULL="YES"/>
    </EMP>
    </EMPSET>
    http://sqltech.cl/doc/oracle9i/appdev.901/a89852/d_xmlque.htm

  • XML DevCon 2001: Submit schema and stylesheet problems- win XML Spy

    There are only a few days to submit schema and stylesheet problems for XML
    DevCon 2001 in London. If the workshop instructors use your submission
    during the conference, you win a copy of XML Spy.
    <shamelessPlug>
    XML DevCon 2001 has a content-rich technical program with a faculty that
    includes Henry Thompson (W3C Fellow), Peter Chen (IEEE Fellow, ACM
    Fellow),
    Martin Bryan (DIFFUSE Project), and authors such as Bob DuCharme, Ian
    Graham, Elliotte Rusty Harold, G. Ken Holman, Benoît Marchal, JP
    Morgenthal,
    and Simon St. Laurent. There are a variety of eBusiness sessions,
    including
    panel discussions and presentations about ebXML, Web Services, and UDDI.
    The program includes presentations by Jonathan Borden, Ron Bourret, Lee
    Buck, Alex Chaffee, Mark Colan, John Evdemon, Meike Klettke, Andy
    Longshaw,
    Ingo Macherius, Simon Nicholson, David Orchard, Sebastian Rahtz, Daniel
    Rivers-Moore, Michael Rys, Krishna Sankar, Matt Sergeant, Richard Tobin,
    Priscilla Walmsley, David RR Webber and other distinguished faculty.
    </shamelessPlug>
    http://www.xmldevcon2001.com/London/html/conference.php
    For a free pass to exhibits and special events (keynotes, joint XML UK and
    British Computer Society meeting, OASIS XPath/XSLT meeting, vendor
    presentations):
    http://www.xmldevcon2001.com/London/html/special_events.php
    Public submissions (schemas and stylesheets)
    Three members of the W3C Schema Working Group (Michael Rys, Henry
    Thompson, Priscilla Walmsley) will teach a Schema Workshop. Submit
    problem schemas to them by e-mail:
    [email protected]
    or
    http://www.xmldevcon2001.com/London/html/session.php?code=W5
    Sebastian Rahtz, Bob DuCharme, Benoît Marchal, and Ken Holman will
    present the "Stylesheets and Transformations: Best Practices" workshop on
    Thursday, February 22 in London. To submit a stylesheet or problem
    description for their workshop:
    [email protected]
    or browse to:
    http://www.xmldevcon2001.com/London/html/session.php?code=T17
    ========== Ken North ======================
    See you at Javacon 2001 (New York, March 1)
    www.javacon2001.com
    XML DevCon 2001: London (February 21-23) New York (April 8-11)
    www.xmldevcon2001.com
    =======================================

    Looks okay to me. But then I have no idea of what those "problems" are that you mentioned. Was there a particular reason you didn't tell us what they are?

  • How to include CDATA in xml generated from XQuery

    I need to include Cdata in the xml generated from my xquery which is given below:
    I tried using XMLCDATA, but not getting the desired output. What am I doing wrong?
    SELECT XMLQuery('<InsUpdDel>
    for $crv in ora:view("RELATION")
    return
    <first>
    <eff_date>{$crv/ROW/EFF_DATE/text()}</eff_date>
    <source>{$crv/ROW/SOURCE/text()}</source>
    <key>
    <fld>
    <id>from_type</id>
    <val>XMLCDATA({$crv/ROW/FROM_ENT_TYPE/text()})</val>
    </fld>
    <fld>
    <id>from_ent_id</id>
    <val>{$crv/ROW/FROM_ENT_ID/text()}</val>
    </fld>
    </key>
    </first>}</InsUpdDel>'
    RETURNING CONTENT)
    FROM dual;
    The output I get is XMLCDATA(C), while the desired output is <![CDATA[C]]>

    Forgive me my vanity to think I can contribute by kicking doors open that are probably already wide open....I might create more confusion, but perhaps it helps some of the readers of this thread....
    In general it is not such a good idea to use "string" functions to create (serialized) XML. XML tools (including Oracle XML DB) go through a lot of effort to make sure that when a "native" XML structure is serialized to a string, the XML rules are strictly obeyed (e.g. special character escaping).
    Just assume e.g. that the $i/Reference from above contains something like ]]><
    The resulting XML would not be valid.
    More info on serializing XML in the context of XQuery is available from
    - http://www.w3.org/TR/xquery/#id-serialization
    - http://www.w3.org/TR/xslt-xquery-serialization/
    - http://www.w3.org/TR/xslt-xquery-serialization/#XML_CDATA-SECTION-ELEMENTS
    Unfortunately I do not think Oracle XML DB currently implements these parts of the spec (perhaps 11g will)...leaving the OP's question unanswered.
    Anyway, if going the route of serializing the XML through string functions, it is always good to realize the dangers of such an approach.
    Peter

  • STRIP tag in XML Generator

    We are  creating xml files from RDBMS, for that we are using XML generator .  we  imported dtd file for creating  XML generator  but we are getting some tag with name  'STRIP' .  i dont know what is this tag , i am new to this XMl files generation can any one give some useful info  about this. The flow in informatica is:  SOURCE----->XML GENERATOR----->MQ series(Target)  Thanks,Srinadh.

    인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]인계동 QIQ-9529-1551 수원출장안마 ‡ 수원출장마사지 영통출장안마]

  • Problem parsing XML with schema when extracted from a jar file

    I am having a problem parsing XML with a schema, both of which are extracted from a jar file. I am using using ZipFile to get InputStream objects for the appropriate ZipEntry objects in the jar file. My XML is encrypted so I decrypt it to a temporary file. I am then attempting to parse the temporary file with the schema using DocumentBuilder.parse.
    I get the following exception:
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element '<root element name>'
    This was all working OK before I jarred everything (i.e. when I was using standalone files, rather than InputStreams retrieved from a jar).
    I have output the retrieved XML to a file and compared it with my original source and they are identical.
    I am baffled because the nature of the exception suggests that the schema has been read and parsed correctly but the XML file is not parsing against the schema.
    Any suggestions?
    The code is as follows:
      public void open(File input) throws IOException, CSLXMLException {
        InputStream schema = ZipFileHandler.getResourceAsStream("<jar file name>", "<schema resource name>");
        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
        DocumentBuilder builder = null;
        try {
          factory.setNamespaceAware(true);
          factory.setValidating(true);
          factory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
          factory.setAttribute(JAXP_SCHEMA_SOURCE, schema);
          builder = factory.newDocumentBuilder();
          builder.setErrorHandler(new CSLXMLParseHandler());
        } catch (Exception builderException) {
          throw new CSLXMLException("Error setting up SAX: " + builderException.toString());
        Document document = null;
        try {
          document = builder.parse(input);
        } catch (SAXException parseException) {
          throw new CSLXMLException(parseException.toString());
        }

    I was originally using getSystemResource, which worked fine until I jarred the application. The problem appears to be that resources returned from a jar file cannot be used in the same way as resources returned directly from the file system. You have to use the ZipFile class (or its JarFile subclass) to locate the ZipEntry in the jar file and then use ZipFile.getInputStream(ZipEntry) to convert this to an InputStream. I have seen example code where an InputStream is used for the JAXP_SCHEMA_SOURCE attribute but, for some reason, this did not work with the InputStream returned by ZipFile.getInputStream. Like you, I have also seen examples that use a URL but they appear to be URL's that point to a file not URL's that point to an entry in a jar file.
    Maybe there is another way around this but writing to a file works and I set use File.deleteOnExit() to ensure things are tidied afterwards.

Maybe you are looking for

  • Master & detail table in one transaction

    Experts, I am useing 11g 11.1.1.4 and ADF BC, I have thought about this question quite for a while. I have a master & detail constructure in one page, master as af:form and detail as af: table. The master is 'booking' table (booking_id, create_date,

  • How to find sunstring with regular expression?

    How can I find a substring in a string with a regular expression? Example: I have a original string "<tr><th>RecordId: </th><td valign=middle>A4711</td></tr>" Now i want to extract the value "A4711" from this string with a regular expression. Everyth

  • Trying to make a purchase and it says that iTunes doesn't support or is not installed what do I do?

    Trying to make a purchase and it says that iTunes doesn't support or is not installed what do I do? Or that I'm not signed in

  • Flash cc extensions not showing

    Hello, I have installed my extension .zxp file on flash cc 2014 using extension manager. But the problem is that the extension should be appearing here what could be the reason why the extension is not showing some items? Screenshot: Thanks, Rovs

  • New unit, won't boot ...

    Just got an Apple TV today. It's connected to my LCD TV via component. The unit will start up (the Apple logo appears on screen), but won't go any further. The amber startup light continues to blink and blink (it's about 10 minutes with no luck). Any