XML rendering in IE and Netscape

Hi all,
I have a simple servlet that streams xml data to the browser. When I view the page in IE it is formatted in the DHTML tree structure but with Netscape 7 it is messed up. However when I open an xml document directly in Netscape, it works! My JSP page has an IFrame that streams the XML data. Can someone let me know why XML rendering does not work in Netscape but in IE? Do I need to set some browser specific parameter in my servlet?
Many thanks
clementv

Hi,
Iam setting the content type as 'text/xml'.
          byte[] bytedata = null;
          resp.setContentType(CONTENT_TYPE);
               if (mBean != null && mBean.getParsedXMLContent() != null ) {
                    bytedata = mBean.getParsedXMLContent().getBytes();
                    //Create Servlet Output Stream
                    sos = resp.getOutputStream();
                    sos.write(bytedata);
               }

Similar Messages

  • XML rendering of folders and/or folder items

    Hello,
    Rummaging thru the Portal pkg. specs, I came across apis that generate an xml lsiting of folders (and their sub-folders) ,as well as folders and their items. Can we get a corresponding XSL and DTD as sample code ?

    Hi,
    The maximum number of resources is 2,147,483,648
    Refer this thread
    https://forums.sdn.sap.com/thread.jspa?threadID=445652&tstart=0
    Regards,
    Senthil K.

  • Servlet  output correct in ie and netscape, but not in portal

    I have a servlet that retrieves and xml document, applies a
    stylesheet, and uses PrintWriter to output the html.
    When I run the servlet, the output is correct in ie and netscape.
    So, I set the servlet up as a web portlet and have put it on a
    portal page.
    My problem: When I run the portal page, the mdashes and
    rsquotes, etc. show up in portal as question marks.
    I went into the provider.xml and added some information
    (contentType,charset), but that had no effect.
    Ideas appreciated.
    Thanks.

    I have been doing some research, and this appears to be some
    sort of character encoding/unicode problem.
    I have specified UTF-8 in my servlet. Does portal not work with
    UTF-8?
    Is there a setting somewhere that I can check in portal to
    verify what character encoding it is using? (ISO-8859-1, US-
    ASCII, etc?)
    This is a sample of my servlet code:
    public void DoGet(HttpServletRequest request, HttpServlet
    Response,response)
    throws ServletException, IOException
    DOMParser parser;
    XMLDocument xml,xsldoc;
    URL xslURL,xmlURL;
    String xmld = "";
    String xsld = "";
    response.setContentType("text/html;charset=UTF-8");
    PrintWriter out = response.getWriter();
    try
    parser = new DOMParser();
    parser.setPreserveWhitespace(true);
    xslURL = createURL(xsld);
    parser.parse(xslURL);
    xsldoc = parser.getDocument();
    xmlURL = createURL(xmld);
    parser.parse(xmlURL);
    xml = parser.getDocument();
    XSLStylesheet xsl = new XSLStylesheet(xsldoc,xslURL);
    XSLProcessor processor = new XSLProcessor();
    processor.processXSL(xsl,xml,out);
    Any advice appreciated.

  • Oracle 8i - XML rendering

    The XML twp and iFS overview refer to XML parsing and rendering
    in relation to iFS. If we are interested in XML rendering only,
    do we require iFS ?
    TIA
    Ronny
    null

    If you need XML Rendering only, you will need to wait for our XSL
    Processor which is currently in development. No announced time
    for beta as yet.
    Ronny Weisz (guest) wrote:
    : The XML twp and iFS overview refer to XML parsing and rendering
    : in relation to iFS. If we are interested in XML rendering only,
    : do we require iFS ?
    : TIA
    : Ronny
    Oracle XML Team
    http://technet.oracle.com
    Oracle Technology Network
    null

  • Authentication to XML DB via WebDAV and SSO

    Hi,
    Is there any way to be authentified by XML DB via WebDAV and SSO ?
    If the access to our infrastructure of database servers is controled by SSO, once I'm authentified by OID (SSO), is it possible to pass that authentification to XML DB through standard port 8080 ?
    Thank you for your help

    This is planned for a future (not 10g) release

  • I finished adding my transtions to my timeline.  I was having crashing issues so I shut down everything before I rendered the project and now it tells me that the project is unreadable or the file is too new for this version of final cut. What Happened?

    I finished adding my transtions to my timeline.  I was having crashing issues so I shut down everything before I rendered the project and now it tells me that the project is unreadable or the file is too new for this version of final cut. What Happened?

    What Happened?
    No way for us to know.  But if your system was crashing, there definitely was a problem.  The FCE error message you got normally indicates the FCE project file has been corrupted.  This probably happened due to whatever caused your system to crash & shutting down the system.
    First, make sure your system is running correctly.  Then, use the Finder to navigate to /users/yourusername/Documents/Final Cut Express Documents/Autosave Vault and find the most recent backup copy of your FCE project file.  Copy the file to your Final Cut Express Documents folder (copy the file, don't just move it).  Then double-click the copy to open it in FCE.  It should open ok, but will probably not have your most recent edits (transitions).  You may have to rebuild the transitions, but at least you will be back in action.

  • My web site has a link which automatically configures an email. Doesn't work in Firefox 5.0 but OK in IE 8, Opera and Netscape. v

    My web site is generated by Second Site , author John Cardinal, and contains email links which when selected automatically createsan email which all you need to do is fill in the body and send it. This has worked in the past in Firefox and does work now using IE 8, Opera, and Netscape browsers but does not work when using my Firefox browser neither locally on my computer or in my Internet website. Firefox is my browser of choice. This has worked in the past using Firefox.
    My web site is www.schulteis.com/omnibus/. On the presentation page, on the bottom, where it identifies Genealogist: Site Administrator. Select it and it may work for you. John Cardinal tested it on his local machine and it worked for him. His response to me was,
    "It's very likely that this is some sort of browser configuration error, and it's probably related to using a web-based email client, In
    Firefox, look under Options > Applications and see how the "Mailto" Content type is configured. It should probably say "Use Yahoo Mail" [it does]. I have never configured a browser to use a web-base email client, so I can't help more than that.
    Since this works fine on my computer and on my Internet site when using browsers IE 8, Opera, and Netscape but not Firefox, and I didn't do anything special for any browser to cause it to work, don't know what I could have done wrong for Firefox.
    I am using Yahoo mail.
    Thanks for your help
    Donald
    [email protected]

    I'm also running FF 36.0.4 on a Win 7 machine.  Here is what I see when I "open" the map (from the server - not inside DW):
    The map area stays white with no image even after several minutes.  The cursor does change to a hand when over the area where the map should be and if I click and drag there the cursor switches to the closed hand - so it's acting like the map is there and can be moved - but just no map shows up.
    I'll run it though the validator.  Thanks!

  • Advantage and disadvantage of xml publisher, report builder and discoverer

    Hi,
    anyone can explain advantage and disadvantage of xml publisher, report builder and discoverer?
    thanks in advance!

    The best way i found was to put a equals and then double quotes... this only works for excel however it will allow you to cut and paste (ie to use the value to search in Oracle) and also to do vlookups.
    In a bit more detail:
    - I used word to generate my default table
    - this created a field INVOICE_NUM
    - in the cell in the table i put = " before the INVOICE_NUM field and then put the closing " afterwards.
    The theory is that excel will concatenate the values together... because it has quotes around it, it will treat it as a string rather than simply a value.
    For any other formats this will not work.
    I'm guessing most people have moved on and resolved this some other way, but just thought I'd share the wealth!

  • The images imported to my stage turn up as blank and render every image previous to the rogue imported image as red squares that fill the perimeters of the image which then renders the publishing and scene testing features in flash useless, what can i do

    I have been working on animating a scene in flash for a few weeks and recently I have encountered a problem with importing my images on to the stage where the images I import do not turn up, however the key frame that I attempted to import the image onto shows that it is occupied by an image and every frame previous to the key frame that just imported an image that does not show turns up as a red square that fills the original perimeters of the image, there is no solution to this problem any where on the forum and the adobe technical support staff will not help me find a solution to this problem what can I do to get Flash running normally again and fix this problem?????
    Also after the first time i publish a preview after i begin using flash, flash renders the publishing and scene testing features as useless and claims that there is no HTML template found, or if the images if i import any images onto the stage that come up blank and render every image previous to that image as a red square and then try and publish a preview  flash renders the publishing and scene testing features as useless and claims that there is no HTML template found. What can I do to fix this problem??? there is no solution on the web anywhere to this problem either.

    I don't know if Flash has a memory limit of its own. The memory for your Flash file is based on the available memory on your computer.
    There is a limit on the number of frames that you can have in any given timeline. I think that it's about 15000 frames, but that's a guess. Flash does all of its work at runtime, this means that no part of your animation is pre-compiled like it is in a video file. So the more objects that you have on the stage, the more work Flash has to do. It follows that the more objects that there are to animate, the more work your processor and the video card have to do.
    Here's a list of articles on memory management that might be useful:
    Garbage collection internals for Flash Player and Adobe AIR | AdobeDeveloper Connection
    actionscript 3 - What are good memory management techniques in Flash/as3 - Stack Overflow
    AS3 Memory Management Tips

  • Is it possible to create a Webservice in BI which takes XML as an input and gives PDF as output with an additional requirement that Siebel expecting the XSD from BI to send data in the BI requested format

    Is it possible to create a Webservice in BI which takes XML as an input and gives PDF as output with an additional requirement that Siebel expecting the XSD from BI to send data in the BI requested format. Siebel wants to send the data as xml to BI but not sure of the BI capabilities on giving WSDL embedded with XSD (input is a hierarchical)

    Hi All,
    I am able to fulfil above requirement. Now I am stuck at below point. Need your help!
    Is there any way to UPDATE the XML file attached to a Data Definition (XML Publisher > Data Definition) using a standard package or procedure call or may be an API from backend? I am creating an XML dynamically and I want to attach it to its Data Definition programmatically using SQL.
    Please let me know if there is any oracle functionality to do this.
    If not, please let me know the standard directories on application/database server where the XML files attached to Data Definitions are stored.
    For eg, /$APPL_TOP/ar/1.0/sql or something.
    Regards,
    Swapnil K.

  • As a JSF Developer, I want to understand technically how the JSF View Components are rendered as html and how there events are binded to Server.I want to know each Java Class that is involved in flow.

    As a JSF Developer, I want to understand technically how the JSF View Components are rendered as html and how there events are binded to Server.I want to know how flows goes to the server and server understands the method which is to be called of managed bean. I know it is with annotation @ManagedBean and method name, but how Call is binded with annotation @ManagedBean.
    In short, i want to know the internal implementation of JSF Framework.

    As a JSF Developer, I want to understand technically how the JSF View Components are rendered as html and how there events are binded to Server.I want to know how flows goes to the server and server understands the method which is to be called of managed bean. I know it is with annotation @ManagedBean and method name, but how Call is binded with annotation @ManagedBean.
    In short, i want to know the internal implementation of JSF Framework.

  • How to create xml file from Oracle and sending the same xml file to an url

    How to create xml file from Oracle and sending the same xml file to an url

    SQL/XML (XMLElement, XMLForest, XMLAgg, etc) and UTL_HTTP.
    Whether that works for you with the version of Oracle you have, your requirements, and needs is another story. A little detail goes a long way.

  • I have repeatibly loaded Adobe Acrobat Reader but the Plugin Check gives me Adobe Acrobat Adobe PDF Plug-In For Firefox and Netscape 10.0.1 Outdated Version Update. While the plug in check is important it is quite bothersome at present. Please help.

    EVERY TIME the browser boots it kicks off the plug in check. I understand that this is important but it is currently a pain. Once I update Adobe Acrobat Plug in the browser does not recognize that the plug in has been installed and keeps coming up and up an up an up.
    This is the message I get.
    Adobe Acrobat
    Adobe PDF Plug-In For Firefox and Netscape 10.0.1 Outdated Version Update
    Please get back with me regarding a fix.
    Jeff

    [discussion moved to Creating, Editing & Exporting PDFs forum]

  • Need help with XML Compatibility between CS3 and CS4

    I'm not a Dreamweaver guru but I am hoping someone will recognize my issue and be able to provide meaningful feedback.
    Background:
    A developer buddy and I are working together to create a new home page for an online retailer that utilizes flash banners.  We're using XML to update the content of the banners.  My buddy is creating the XML file and sending it to me to populate with content (i.e. descriptions, images, image paths, etc.).  He is creating the XML file in CS3 and I am editing in CS4.  Here's the issue:  Whenever he uploads the populated XML file to the server the banners are displayed correctly.  If I take the same file and upload it without editing, it works great.  However, if I open the file, edit and resave before uploading to the web server, the the banners all have extra spaces between each line of content - almost as if it were double spaced.  If you look at the code, the code looks fine.  In fact, the code looks exactly like it did when my buddy sent the file to me.  I believe we have isolated the problem to something weird with my installation of DW.  I have downloaded and installed any and all updates.  Oh yeah he's using a MAC version and I am using the PC version of DW.
    Has anyone seen anything like this before???
    Help...

    Thank you for your response.
    The code is listed below and to tell you the truth the following code is both good and bad.  As I mentioned before, if my buddy sends me this xml file and I upload it to the server, it works fine.  If I open the file and immediately save it without making any changes then upload it, I experience the previously described promblem.  It's very strange.  The code in both files is identical.
    To get a clearer picture of what I am describing, go to http://www.everythingministry.com/beta3.htm.  The book descriptions appear correctly under the "New and Recommended" tab.  However, whenever I edit any one of the six xml files that control the content for each of these tabs it ends up looking like what you currently see under the "New Music" tab.  I have actually tried to update from 2 different machines running DW CS4.
    Below are the xml files for the two tabs I referenced in the paragraph above:
    ts_new.xml
    <items>
      <config
      Milliseconds="5000"
      Distance="3"
      BorderColor="0xffffff"
      TargetLink="_top"
      TextYPosition="200"
      MaxDisplayContent="6"
      ContentWidth="148"
      ContentHeight="300"
      TransitionSpeed="0.8"
      TransitionType="0"
      ShowMouseOver="0"
      ShowBorder="1"
      ShowGlass="1"
      />
       <content>
        <image>images/crazylove.jpg</image>
        <description><![CDATA[Crazy Love
    by Chan Francis
    Price: $11.99
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/crazylove.aspx</link>
      </content>
    <content>
        <image>images/underthesheets.jpg</image>
        <description><![CDATA[Under the Sheets
    by Dr. Kevin Leman
    Price: $9.99
    You Save: 29 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/underthesheetsthesecretstohotsexinyourmarriage.aspx</link>
      </content>
    <content>
        <image>images/outliveyourlife.jpg</image>
        <description><![CDATA[Outlive Your Life
    by Max Lucado
    Price: $19.99
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/outliveyourlifebymaxlucadohardcover.aspx</link>
      </content>
    <content>
        <image>images/lovedare.jpg</image>
        <description><![CDATA[Love Dare Day By Day
    Wedding Edition
    Price: $16.79
    You Save: 27 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/lovedaredaybyday-weddingedition.aspx</link>
      </content>
         <content>
        <image>images/lifeinterrupted.jpg</image>
        <description><![CDATA[Life Interrupted
    by Priscilla Shirer
    Price: $11.99
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/lifeinterruptednavigatingtheunexpected.aspx</link>
      </content>
    <content>
        <image>images/faithfulfasting.jpg</image>
        <description><![CDATA[Faithful Fasting
    by Errica L. Williams
    Price: $8.79
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/faithfulfasting.aspx</link>
      </content>
      <content>
        <image>images/whencouples.jpg</image>
        <description><![CDATA[When Couples Walk Together
    Price: $9.59
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/whencoupleswalktogetherjan2011-paperback.aspx</link>
      </content>
    </items>
    ts_music.xml
    <items>
      <config
      Milliseconds="5000"
      Distance="3"
      BorderColor="0xffffff"
      TargetLink="_top"
      TextYPosition="200"
      MaxDisplayContent="6"
      ContentWidth="148"
      ContentHeight="300"
      TransitionSpeed="0.8"
      TransitionType="0"
      ShowMouseOver="0"
      ShowBorder="1"
      ShowGlass="1"
      />
       <content>
        <image>images/untilthewholeworldhearscd.jpg</image>
        <description><![CDATA[Until the Whole
    World Hears
    Price: $12.76
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/untilthewholeworldhearscd.aspx</link>
      </content>
    <content>
        <image>images/move.jpg</image>
        <description><![CDATA[Move
    by Thirda Day
    Price: $11.19
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/move.aspx</link>
      </content>
    <content>
        <image>images/andifourgodisforus.jpg</image>
        <description><![CDATA[And If Our God
    Is For Us
    Price: $11.19
    You Save: 20 %
    <img src="images/addtocart.jpg" width="146" height="17">]]></description>
        <link>http://www.everythingministry.com/andifourgodisforuscd.aspx</link>
      </content>
    </items>

  • My new iMac with FCPX crashes when rendering complex templates and crashes when exporting with Motion 5

    My new iMac with FCPX crashes when rendering complex templates and crashes when exporting with Motion 5
    Using Motion 5.0.6 and Final Cut Pro X 10.0.7 on New iMac (December 2012)  Mountain Lion,
    Intel Core i7 quad-core a 3,4GHz, Turbo Boost fino a 3,9GHz
    32GB di SDRAM DDR3 a 1600MHz - 4 x 8GB
    Fusion Drive da 3TB
    NVIDIA GeForce GTX 680MX 2GB GDDR5
    During the rendering of complex FCPX mac crashes and I have to force a restart.
    I also happens when I try to export movies with Motion 5.
    Does anyone have the same problem with my new iMac?

    Problems such as yours are sometimes caused by files that should belong to you but are locked or have wrong permissions. This procedure will check for such files. It makes no changes and therefore will not, in itself, solve your problem.
    First, empty the Trash.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Triple-click anywhere in the line below to select it, then drag or copy it — do not type — into the Terminal window:
    find . $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 -o -acl \) 2> /dev/null | wc -l
    Press return. The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    The output of this command, on a line directly below what you entered, will be a number such as "35." Please post it in a reply.

Maybe you are looking for