Problem in impelementing tree in jsp using XML

I am trying to impelemnt "treeview.htc" to impelement tree structure in my jsp page.I am using XML file to get the elements for treenodes.Now My Problem:
Basically i have one ASP page with me, and there they have done all this things.But when i try to impelement the same thing in JSP it is thrwing me error.
<b>Error: It is unable to detect the namespace i have mentioned in :>
IT is not able to detect the "TVNS" namespace..Hence showing error while saving the jsp file</b>
<code>
<?XML:NAMESPACE PREFIX=TVNS />
<?IMPORT NAMESPACE=TVNS IMPLEMENTATION="C:/XMLTREE/treeview.htc" />
<tvns:treeview id="ctlFilter_TreeFilter" class="clsTreeView"
defaultStyle="font:normal normal normal 8pt Tahoma;" selectedNodeIndex="0" HelperID="__ctlFilter_TreeFilter_State__" systemImagesPath="C:/XMLTREE/images"
onexpand="javascript: if (this.clickedNodeIndex != null) this.queueEvent('onexpand', this.clickedNodeIndex)" oncollapse="javascript: if (this.clickedNodeIndex != null) this.queueEvent('oncollapse', this.clickedNodeIndex)"
oncheck="javascript: if (this.clickedNodeIndex != null) this.queueEvent('oncheck', this.clickedNodeIndex)" onselectedindexchange="javascript: if (event.oldTreeNodeIndex != event.newTreeNodeIndex) this.queueEvent('onselectedindexchange', event.oldTreeNodeIndex + ',' + event.newTreeNodeIndex)" style="height:100%;width:100%;">
     <tvns:treenode Type="And" Expanded="True" Selected="true">
          And<tvns:treenode Type="Property">
               Buyer Name = "Abukar Hagi, Abdirashid"
          </tvns:treenode><tvns:treenode Type="Property">
               Buyer Name > "Abukar Hagi, Abdirashid"
          </tvns:treenode><tvns:treenode Type="Property">
               Buyer Name <= "Abukar Hagi, Abdirashid"
          </tvns:treenode>
     </tvns:treenode>
</tvns:treeview>
</code>
Please help me out .its very urgent.
Thanks in advance.

Have you actually been able to get this to work? I tried some of the demos from the MS site and running the html file with the treeview.htc just sends my browser into a state of loading with nothing happening!?!
This is a webcontrols component which is rather MS specific. As for finding the namespace, are you accessing this page locally or remotely? the namespace location, if run from a JSP, will resolve the C: drive to the one the web browser is running in not your server.
If you have your htc file in the same dir as the jsp your running, then putting just "treeview.htc" as the namespace whould be fine or add the context path like so:IMPLEMENTATION="<%=request.getContextPath()%>/treeview.htc"Let me know if you actually get this running without a web server. Otherwise it may be the .Net server that renders the page.
Anthony

Similar Messages

  • Problem while parsing xmlString in jsp using JSTL

    HI, I am not able to display data in jsp page that I have stored in string variable in XML form.
    I want to print xmlString data in jsp using jstl.
    probably i might have to parse it but i don't have idea . Can any one help me PLZ??

    I managed the code but getting following error
    org.apache.jasper.JasperException: javax.servlet.jsp.JspException: Content is not allowed in prolog.
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.servlet.ServletException: javax.servlet.jsp.JspException: Content is not allowed in prolog.
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:854)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
         org.apache.jsp.xml.test_jsp._jspService(test_jsp.java:106)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.xml.sax.SAXParseException: Content is not allowed in prolog.
         com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:264)
         com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
         org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseInputSource(ParseSupport.java:227)
         org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseInputSourceWithFilter(ParseSupport.java:193)
         org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseReaderWithFilter(ParseSupport.java:199)
         org.apache.taglibs.standard.tag.common.xml.ParseSupport.parseStringWithFilter(ParseSupport.java:206)
         org.apache.taglibs.standard.tag.common.xml.ParseSupport.doEndTag(ParseSupport.java:138)
         org.apache.jsp.xml.test_jsp._jspx_meth_x_parse_0(test_jsp.java:168)
         org.apache.jsp.xml.test_jsp._jspService(test_jsp.java:82)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

  • Problem loading resources file in JSP using f:loadBundle

    Hi,
    We are facing problem while loading our properties file in JSP using f:loadBundle.we tried the following way
    <f:loadBundle basename="resources.ApplicationResource" var="msg"/>
    This properties file is src java folder and also in WEB-INF-->classes->resources folder
    but even then its not able to load.I made an entry in the faces-config for message-bundle. But of no use.
    Any pointers would be of great help.

    does your file calls
    ApplicationResource.properties ?
    If so is it in
    the package resources ?

  • Quiz app in jsp using xml as datasource

    Hi if one wants to set up a simple application like a quiz app that stores all its question in an xml file.
    The basic structure is like a java class reading from the xml using DOM/SAX then writing the info in the bean then getting that info in a jsp file.
    But i am having some problem with the code.
    First problem is how do i read a set of records from the xml file to the bean and then transfer it to the jsp page. I am using a simple java bean no EJB's
    Any help appreciated

    Does the javabean represent one question or does it represent all the questions (so - do you have QuestionBean or QuestionsBean)?
    For the sake of discussion, let's say that you have a QuestionBean - it represents one question; (it may also contain answers, too?)
    Let's also create an object that will hold the questions. How about calling this QuizBean?
    Your Parser.java would use jdom to read in the xml file. For each question node it finds, it creates a QuestionBean and sets the properties.
    hi steve until here its quite clear...
    but why do we need to create another quiz bean, cant we read each time from the xml file, yes the xml file has questions and answers.
    suppose there is a next button in the jsp page and each time its hit this happens
    xml >> parser.jsp ( fetches a question with answer ) >> bean.java >> jsp
    sorry steve i am kind of newbie in jsp, i have always used microsoft technologies, so ..... :)
    questions.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Subject>
              <Topic Name="science">
              <Questions>
                   <Ques>What is the color of the sky?</Ques>
                   <wrong>green</wrong>
                   <wrong>yellow</wrong>
                   <wrong>brown</wrong>
                   <correct>blue</correct>
              </Questions>
              <Questions>
                   <Ques>what is xml?</Ques>
                   <wrong>i dont know</wrong>
                   <wrong>we dont know</wrong>
                   <wrong>you dont know!!!</wrong>
                   <correct>use google :)</correct>
              </Questions>
              <Questions>
                   <Ques>where is delhi ?</Ques>
                   <wrong>bombay</wrong>
                   <wrong>pakistan LOL</wrong>
                   <wrong>usa</wrong>
                   <correct>near noida</correct>
              </Questions>
         </Topic>
         </Subject>

  • Problem in ADF Tree When I use 2 Tree in a Page with same View Object !

    Hi everybody,
    I use JDeveloper 11.1.1.5 and ADF Faces in UI . I have 2 tree in a page that they are from same Updatable View Object but diffrent instances in application module . When I change an attribute value from one of them in manage Bean programmatically , both of them change??!! in my case I put a checkbox in nodeStamp, when user click on checkbox, title of row must change but title in both of them change?????
    I think it is a bug.
    please help me. Thanks

    >
    so what is diffrent to use same view object instances in page or multiple instances when we need ??
    >
    Actually, this depends on your use case. suppose you have a view object with a bind variable, and you want to display to tables on the same page but with different query result depending on the bind variable, in this case you have to create two view instances.
    check
    http://andrejusb.blogspot.com/2011/06/understanding-adf-bc-view-object.html

  • Problem to create Explain Plan and use XML Indexes. Plz follow scenario..

    Hi,
    Oracle Version - Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit
    I have been able to reproduce the error as below:
    Please run the following code in Schema1:
    CREATE TABLE TNAME1
       DB_ID            VARCHAR2 (10 BYTE),
       DATA_ID          VARCHAR2 (10 BYTE),
       DATA_ID2         VARCHAR2 (10 BYTE),
       IDENTIFIER1      NUMBER (19) NOT NULL,
       ID1              NUMBER (10) NOT NULL,
       STATUS1          NUMBER (10) NOT NULL,
       TIME_STAMP       NUMBER (19) NOT NULL,
       OBJECT_ID        VARCHAR2 (40 BYTE) NOT NULL,
       OBJECT_NAME      VARCHAR2 (80 BYTE) NOT NULL,
       UNIQUE_ID        VARCHAR2 (255 BYTE),
       DATA_LIVE        CHAR (1 BYTE) NOT NULL,
       XML_MESSAGE      SYS.XMLTYPE,
       ID2              VARCHAR2 (255 BYTE) NOT NULL,
       FLAG1            CHAR (1 BYTE) NOT NULL,
       KEY1             VARCHAR2 (255 BYTE),
       HEADER1          VARCHAR2 (2000 BYTE) NOT NULL,
       VERSION2         VARCHAR2 (255 BYTE) NOT NULL,
       TYPE1            VARCHAR2 (15 BYTE),
       TIMESTAMP1   TIMESTAMP (6),
       SOURCE_NUMBER    NUMBER
    XMLTYPE XML_MESSAGE STORE AS BINARY XML
    PARTITION BY RANGE (TIMESTAMP1)
       (PARTITION MAX
           VALUES LESS THAN (MAXVALUE)
    NOCOMPRESS
    NOCACHE
    ENABLE ROW MOVEMENT
    begin
    app_utils.drop_parameter('TNAME1_PAR');
    end;
    BEGIN
    DBMS_XMLINDEX.REGISTERPARAMETER(
    'TNAME1_PAR',
    'PATH TABLE     TNAME1_RP_PT
                              PATHS (INCLUDE (            /abc:Msg/product/productType
                                                                    /abc:Msg/Products/Owner
                                     NAMESPACE MAPPING (     xmlns:abc="Abc:Set"
    END;
    CREATE INDEX Indx_XPATH_TNAME1
       ON "TNAME1" (XML_MESSAGE)
       INDEXTYPE IS XDB.XMLINDEX PARAMETERS ( 'PARAM TNAME1_PAR' )
    local;Then in Schema2, create
    create synonym TNAME1 FOR SCHEMA1.TNAME1
    SCHEMA1:
    GRant All on TNAME1 to SCHEMA2Now in SCHEMA2, if we try:
    Explain Plan for
    SELECT xmltype.getclobval (XML_MESSAGE)
    FROM TNAME1 t
    WHERE XMLEXISTS (
    'declare namespace abc="Abc:Set";  /abc:Msg/product/productType= ("1", "2") '
    PASSING XML_MESSAGE);WE GET -> ORA-00942: table or view does not exist
    whereas this works:
    Explain Plan for
    SELECT xmltype.getclobval (XML_MESSAGE)
    FROM TNAME1 t- Please tell me, what is the reason behind it and how can I overcome it. It's causing all my views based on this condition to fail in another schema i.e. not picking up the XMLIndexes.
    Also
    SELECT * from DBA_XML_TAB_COLS WHERE TABLE_NAME like 'TNAME1';Output is like:
    OWNER, || TABLE_NAME, || COLUMN_NAME, || XMLSCHEMA || SCHEMA_OWNER, || ELEMENT_NAME, || STORAGE_TYPE, || ANYSCHEMA, || NONSCHEMA
    SCHEMA1 || TNAME1 ||     XML_MESSAGE ||          ||          || BINARY     || NO     || YES ||
    SCHEMA1 || TNAME1 ||     SYS_NC00025$ ||          ||          || CLOB     ||     ||
    - Can I change AnySchema to YES from NO for -column_name = XML_MESSAGE ? May be that will solve my problem.
    - SYS_NC00025$ is the XML Index, Why don't I get any values for ANYSCHEMA, NONSCHEMA on it. Is this what is causing the problem.
    Kindly suggest.. Thanks..

    The problem sounds familiar. Please create a SR on http://support.oracle.com for this one.

  • Reading jsp  tag using xml

    Hello friends,
    I have a problem.
    I have a jsp page in that i have to find a particular tags. using xml
    but i dont know about dtd and. please help me
    example.
    <input type ="text" value= "ss">
    now i want to find the above tag using xml
    so please give me the logic how to find a tag in jsp using xml. ?
    please help me.

    A JSP is for displaying data. Read after me:D-I-S-P-L-A-Y-I-N-G. It has no business parsing or
    reading or calculating anything.
    I don't know what the OP want's to do. Maybe he
    want's to write a application which replaces some
    html tags in JSP files.
    His post can also be interpreted that he want's to
    use JavaScript (DOM)) to find any particular tag.Hello,
    my problem is in our application some programmers have written hardcode in <intput tag> like <input type name ="hardcode" instead taking values from database dictonary.
    so now i have to find the line no. where they have written the hard code.
    for that my pl is asked to solve using dom.
    for that i need to find the html tags.
    but i m not able to do that.
    can u suggest me.
    Regards

  • Designing the structure of jsp pages using xml

    how can i design the structure of the jsp using xml file?

    The structure of the JSP? I don't know what that means. Perhaps you can explain why you thought using XML for that would be a good idea, that might help us comprehend the question.

  • Splitting columns using xml path

    Please see my script below,
    This is one of the msdn user request but as he is newbie unable to put ddl and dmls.. but all he wants is doing pivot on values.. but I'm trying the same using dynamic pivot which I'm not able to achieve. Help is appreciated.
    Table Script:
    create table #temp(
    ProjectNO int,projectname varchar(10),client varchar(10),programmers varchar(10));
    declare @cols AS nvarchar(MAX)
    ,@QUERY AS NVARCHAR(MAX);
    Insert into #temp
    Select 01 , 'ave' , 'zica' , 'dee'
    UNION
    Select 01, 'ave', 'zica ', 'law'
    UNION
    Select 01 ,'ave', 'zica', 'amy'
    UNION
    Select 01 , 'ave' , 'rowan' , 'dee'
    UNION
    Select 01 ,'ave' ,'rowan' ,'law'
    UNION
    Select 01 ,'ave' ,'rowan' ,'amy'
    Select * from #temp
    Question 1: Desired output:
    ProjectNO. Prjtname Clt1 Clt2 Prog1 Prog2 Prog3
    01 ave zica rowan dee law amy
    Question 2: Query:
    Select distinct Replace((select distinct convert(char(8),client)
    from #temp
    FOR XML path('')) ,'";;#;;"',' ') as clients
    FROM #temp
    GROUP BY ProjectNO
    In the above query I'm doing xml path and I'm getting result in single row like
    clients 
    rowan    zica
    Instead can I get result like below using xml path?
    client1 client2
    rowan  zica
    - please mark correct answers

    For this particular problem we don't want to use XML path. I already answered in the other thread with a link to this article
    T-SQL:
    Dynamic Pivot on Multiple Columns
    Let me know if using that article code you will be able to achieve the goal. It's rather simple, actually, I can write up the mock up idea.
    declare @MaxClients int, @MaxProgrammers int
    select @MaxClients = max(ClientsCount) from (select ProjectNo, count(distinc(Client)) as ClientsCount from #Temp GROUP BY ProjectNo) X
    select @MaxProgrammers = max(ProgrammersCount) from (select ProjectNo, count(distinc(Programmer)) as ProgrammersCount from #Temp GROUP BY ProjectNo) X
    declare @SQL nvarchar(max), @Loop int
    set @Loop = 1
    Actually, that't the beginning of the idea and you should be able to figure this out till completion based on the article I pointed out. We would need to use 2 dense_rank functions.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • Problems with JSP Documents (XML Mode)

    Hi --
    Have been following the spec for JSP as XML documents because I want to produce JSPs using XSLT. Two problems which I've yet to find anything but workarounds for:
    1. (Most pressing) JSP Documents do not allow this <%= blah %>. This creates problems when I want to dynamically create an attribute value. The spec recommends this: 'value = "%=var%"', but I've tried this in Tomcat 4.1.12 and the expression gets reproduced literally at run-time. I've searched these forums and not found an answer.
    2. Transformer wigs out on colons in "jsp:root" or "c:out" because it signifies a namespace with which it is unfamiliar. It doesn't need to recognize the namespace. Right now I'm putting in placeholders (jsp999root, for example) and replacing them after processing. Is there a better way?
    These problems are really getting in the way. Any help would be most appreciated.

    Have been following the spec for JSP as XML documents because I want to
    produce JSPs using XSLT. Two problems which I've yet to find anything but
    workarounds for:
    1. (Most pressing) JSP Documents do not allow this <%= blah %>. This creates
    problems when I want to dynamically create an attribute value. The spec
    recommends this: 'value = "%=var%"', but I've tried this in Tomcat 4.1.12 and
    the expression gets reproduced literally at run-time. I've searched these
    forums and not found an answer. I am stuck on this also and desperately searching for an answer. Has anyone found anything yet?
    2. Transformer wigs out on colons in "jsp:root" or "c:out" because it
    signifies a namespace with which it is unfamiliar. It doesn't need to
    recognize the namespace. Right now I'm putting in placeholders (jsp999root,
    for example) and replacing them after processing. Is there a better way?You can (and should) put multiple namespace declarations in the xsl:stylesheet tag. that will let it know about jsp:* and pass it through appropriately. Try something like:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:jsp="http://java.sun.com/JSP/Page">

  • JSPs as XML Documents -- Problems

    Hi --
    Have been following the spec for JSP as XML documents because I want to produce JSPs using XSLT. Two problems which I've yet to find anything but workarounds for:
    1. (Most pressing) JSP Documents do not allow this <%= blah %>. This creates problems when I want to dynamically create an attribute value. The spec recommends this: 'value = "%=var%"', but I've tried this in Tomcat 4.1.12 and the expression gets reproduced literally at run-time. I've searched these forums and not found an answer.
    2. Transformer wigs out on colons in "jsp:root" or "c:out" because it signifies a namespace with which it is unfamiliar. It doesn't need to recognize the namespace. Right now I'm putting in placeholders (jsp999root, for example) and replacing them after processing. Is there a better way?
    These problems are really getting in the way. Any help would be most appreciated.

    Hi,
    It looks from No. 2 that you are using JSLT since you have a fragment of a <c:out tag. I believe the syntax for getting the value out of one of these tags is actually almost identical to that in XSLT:
    value="${var}" instead of what you got from the spec,
    The spec recommends this: 'value = "%=var%"'The name spaces do have to be declared for JSLT to work, declared in the <jsp:root> tag:
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:c="http://java.sun.com/jstl/core"
    version="1.2">
    Here's a very simple jsp that uses it:
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
    xmlns:c="http://java.sun.com/jstl/core"
    version="1.2">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <html>
         <head>
         <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252"/>
         <title>Hello World</title>
         </head>
         <body>
         <c:set var="nameString" value="John"></c:set>
         <h2>The name is: <c:out value="${nameString}"/></h2>
         </body>
    </html>
    </jsp:root>
    Of course, you have to have the tlds set up and the JSLT jars available for the compiler.
    I haven't yet tried this with transforms, but there are tags in the JSLT for that as well. If you've tried all this already, my apologies.
    Edward

  • How to display the data in XML files into JSP using Jdeveloper.

    Hi All,
    I have two XML files one XML file has the view names and the other has the table names of a particular views, how to display the data in JSP using JDeveloper where when i click a particular view the list of tables of that particular view from XML file two should be displayed in JSP Page.
    Are there any reference documents, regarding the above process please can anyone guide through how to do it.

    Let the servlet ask your business tier to provide the data, then stuff it into beans, and pack those into the Session instance. Then forward the request to the JSP, let the JSP get those beans and display them.

  • Captivate 4, interaction SWF using XML and the Reviewer tool Problem

    Hello everyone!
    I am an advanced AS3er and am only months old working with Captivate 4. I've found some cool ways to use Captivate and incorporating swfs that use CSS and XML for their dynamic content builder and interactivity as well. However, I've run into a problem:
    The Reviewer tool will NOT display my swf interactions that use XML, however when published as a course, I can see them perfectly fine (once I move over my css and xml folders after publishing)
    Has anyone found a work around for this problem?
    Thanks in advance!

    Hi,
    Not sure if you want to control the audio used in Captivate of if you want to control you own audio form files loaded externally. If you try to control the audio associated with captivate, believe me it will be a mess. I tried it once and hit so many hurdles that I gave up. The Captivate framework is not meant at all for extending and adding functionality. I had to to create proxy classes that allowed me to gain access to internal variable but even then my control over audio streams was incomplete. Captivate completely lacks an eventing framework!
    On an other subject, can you tell me how you got the swf to use the CSS and XML files? Do you have to manually copy them to a folder? Which folder?
    Thanks,
    Yves

  • Problems using XML URL data service on Jdev

    Not sure if this is the right forum for this but couldn't find specific forum on XML.
    I"m using Jdev Studio Edition Version 11.1.1.4.0 (Win 2008 Server). I'm followng the tutorial (http://www.oracle.com/technetwork/developer-tools/jdev/ccset10-all-091120.html) which treaches how to create a URL service to read RSS feeds.
    My real question is about any guidance in creating proper XML schemas. I've read the documentation from wr.org but I"m still not sure about any key rules to follow for creating XML schemas and if XML schemas are a muust for using XML DB to read content from the internet.
    Following the instructions I created the following XML schema:
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="rss">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="channel" type="channel"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:complexType name="channel">
    <xsd:sequence>
    <xsd:element name="lastBuildDate" type="xsd:string"></xsd:element>
    <xsd:element name="title" type="xsd:string"></xsd:element>
    <xsd:element name="link" type="xsd:string"></xsd:element>
    <xsd:element name="description" type="xsd:string"></xsd:element>
    <xsd:element name="managingEditor" type="xsd:string"></xsd:element>
    <xsd:element name="language" type="xsd:string"></xsd:element>
    <xsd:element name="item" type="item" minOccurs="0" maxOccurs="100"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="item">
    <xsd:sequence>
    <xsd:element name="title" type="xsd:string"></xsd:element>
    <xsd:element name="link" type="xsd:string"></xsd:element>
    <xsd:element name="description" type="xsd:string"></xsd:element>
    <xsd:element name="pubDate" type="xsd:string"></xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    When trying to run the page I get the following trace:
    Target URL -- http://127.0.0.1:7101/Application1-Project1-context-root/faces/newsPage.jspx
    Tag: Definition
    <XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
    <XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
    <XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
    <XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
    <XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
    <XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
    <XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
    <XMLHandler> <parseDataStream> Failed to create the DOM tree for the source. Resaon: Expected '>'.
    Any idea what I am doing wrong? Thanks, J

    Hi Jay,
    Most of XML parsers mainly support UTF-8 encoding by default. So if the source is Windows 1252 encoded, the parser might fail.
    There are two potential solutions (including but not limited to):
    1) Use encoding tools/functions to translate the source with UTF-8 encoded.
    2) Change ADF configurations to see if ADF can deal with Windows 1252 encoded source. Also people in ADF forum may have suggestions from their point of view.
    Best regards,
    Rucong Zhao
    Oracle Berkeley DB XML

  • Problem while using XML with Oracle

    I have a problem using XML with oracle applications
    The process I am following
    1. Making a XML string.
    2. Parsing it to get a document
    3. Free the parser using xmlparser.freeparser
    4. Traversing through nodes .
    5. Freeing the document.
    The whole Process is executed in batch mode.
    The problem occurs after executing the procedure for 5000 records and I get the error
    ORA-04031: unable to allocate 4176 bytes of shared memory ("shared pool","unknown object","sga
    heap","library cache")
    Can you please help me out to overcome this problem
    It's urgent
    I have
    Oracle version 8.1.7.0.0
    XML version 1.2
    OS Windows NT
    To resolve the problem I have increase shared memory size and java initialization parameters ,which seems OK
    Looking forward for your answer.

    Hello, Reena
    Your process flow seems to be correct in term of getting/freeing memory.
    Following error
    The problem occurs after executing the procedure for 5000 records and I get the error
    ORA-04031: unable to allocate 4176 bytes of shared memory ("shared pool","unknown object","sga
    heap","library cache")may be caused by memory leaks in xdk or memory fragmentation(due to get/free memory cycle)
    To find out if this is an memory leak issue you could try to monitor V$SGASTAT from one session while running your batch process in another session.
    To prevent (or lower its impact) fragmentation issues try to PIN objects, and adjust java_pool_size and shared_pool_reserved_size.
    Anyway, counsult your Oracle DBA.
    Oracle version 8.1.7.0.0I think, you should apply database patch first of all. The latest one (8.1.7.4.x) could be accured from Metalink.

Maybe you are looking for

  • Connecting between two Adobe air mobile applications (On Android)

    Hi There, Does an Adobe AIR application can connect and pass parameters somehow (Directly or by http) with another android application? Can Adobe AIR mobile application open a listening socket?

  • Connecting a 35670A to labview signalexpress

    Hello all, I am rather new to using signal express, First problem I have is I will be using the LE version of signal express, will this program be sufficient to run a VI for the 35670A, Also it says you get a 30day trial which I have not for some rea

  • Compensate an invoice through a manual accounting entry in ByD??

    Is it posible in SAP ByDesign to compensate open invoices through manual accounting entries? A client uses a non-standar  payment method for supplier invoices, so they make the accounting payments manually through "New document accounting entry". "Su

  • Turning off server side stack trace in error message for weblogic81

    Hi, I am seeing server side stack trace in getMessage() method which is being stuffed by application server. I am using weblogic 81. Could you please let me know how to turn off that in getMessage() to return my only original message? Thanks Praveen

  • Constant iCloud  Dialogue  Box Reminder isBecoming Annoying

    I'm a L-O-N-G time  Mac user, but have had myriad problems both getting my latest iMac up and running (due to hardware issues)  – and dealing with updated versions of familiar software that were not compatible with  the new OS  X version on my curren