473,395 Members | 1,676 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

xml wrongly views as text extracted from the xml tags

we have a java framework, where we feed a request xml. this request xml
is forwarded through
the framework, tomcat and axis, for the backend processing, and the
processing results are
again received by the internet explorer, after they are transformed
with an xslt by the framework.

now the problem that we are facing is like - the explorer extracts the
text inside all xml tags
of the response xml and shows it as simple text. but, if you view the
source of the 'text', it will show it all as well-formed xml.

moreover, if you save the source as an xml file, and again open it
through internet explorer,
it will show the xml in proper way.

i have tried using firefox, processing with xml spy, but with same
results...

has somebody experienced similar problem before???

i wonder what can be wrong in this case, and would be thankful for any
pointers as to what
can be the cause and solution to this.

Thanks in advance,
Shreyas

Nov 14 '06 #1
1 1257
Hi all,

Finally i got what was the problem. it was because the response xml
contained a <Title</Titletag in it. and dont know why/how, but IE
was treating it as an HTML tag. i noticed that the browser window title
was indeed "Mr" which is the text enclosed by the Title element.

one more weird thing i noticed was that if i moved the
<xsl:apply-templatesline for the tag downwords after one more
template application, it was showing the xml properly alongwith the
<Titleelement, and not treating it as an HTML tag.

now the problem at my end is resolved. but it has kept me wondering as
to what might be the possible reason behind this weird behaviour.

regards,
Shreyas
Shyran wrote:
we have a java framework, where we feed a request xml. this request xml
is forwarded through
the framework, tomcat and axis, for the backend processing, and the
processing results are
again received by the internet explorer, after they are transformed
with an xslt by the framework.

now the problem that we are facing is like - the explorer extracts the
text inside all xml tags
of the response xml and shows it as simple text. but, if you view the
source of the 'text', it will show it all as well-formed xml.

moreover, if you save the source as an xml file, and again open it
through internet explorer,
it will show the xml in proper way.

i have tried using firefox, processing with xml spy, but with same
results...

has somebody experienced similar problem before???

i wonder what can be wrong in this case, and would be thankful for any
pointers as to what
can be the cause and solution to this.

Thanks in advance,
Shreyas
Nov 15 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Doron | last post by:
Hi, Is there any way to associate SQL text from the V$%SQL% views with sessions. A piece of code in our application locks up a critical table about once a month. I suspect that the code is not...
5
by: kj | last post by:
I have elements of the form <TD><A name="marker"></A>foobar</TD> and I want to extract the text "foobar". How can I do this in IE? (I think I know how to do it for NS). Is there a way to...
5
by: Randell D. | last post by:
Folks, I have a few <INPUT TYPE=TEXT> tags that are readonly if a specific field has no value... these work fine. However, I also have checkboxes which I would like to have as readonly, but the...
3
by: dbtoo_dbtoo | last post by:
One of the databases has 50 views and when I do a db2look I only get schema for 40 of them. If I select from the sysviews, I can see all 50 (the text column contains schema for all 10 (missing)...
5
by: Bruce | last post by:
I have several user defined functions which are referenced in triggers and views. For software upgrades, I need to be able to drop the triggers and views which reference these user defined...
1
pbmods
by: pbmods | last post by:
Today I'd like to talk about a new feature introduced in MySQL 5: Views. Views are like snapshots of queries. You can save any query as a view, even complex queries with joins and subqueries,...
2
by: Roger | last post by:
For some reason some of my views on a DB2 8.2 FP15 database went into invalid state. I extracted the text from the sysviews and re created them. I want to know why it went to invalid state to...
6
by: and1 | last post by:
hello .. hmm currently i'm working on vba in excel, apparently i use ADO to extract a table data from access to excel and it works fine. the problem is when i use the extracted data to create a chart...
3
by: smarttechie | last post by:
hi all i have xml tags in html body. and using document.getelementbyid i am just extracting the xml. in mozilla it's working but it also prints the whole xml in plain text in browser. where in IE...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.