Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Major problem with XSD schema's in Internet Explorer

From: Nick@-----------.---------.---
To: NULL
Date: 1/4/2005 8:53:00 AM
We develop and host a webbased accounting application which is fully xml/xsd 
and webservice oriented.

We have recently noticed that xml schemas (xsd or xdr) are not being cached 
by Internet Explorer, or at least the cache isn't being used anymore. We know 
for a fact that this was working properly until recently: if-modified-since 
headers would be sent to the server which then replied with 304's, but now we 
see that these headers are not being sent anymore, forcing the server to 
respond with a 200. We suspect it must be due to some recent windows update 
(urlmon, wininet, msxml ??) but we're not exactly sure when.

When the schema is directly requested through the location bar of IE it is 
cached correctly while if the xml parser is allowed to resolve it as an 
external the cache is by-passed (no if-modified-since header).

Our XSD is over 140kB and caching is obviously crucial to the performance of 
our application.

Any comments, suggestions, similar experiences?


Thanks in advance




--------Sample XML-file:---------------
<?xml version="1.0" encoding="utf-8" ?>
<DATA xmlns="x-schema:schema.xsd">
	<CUS>
		<CUSNBR>1</CUSNBR>
	</CUS>
</DATA>



--------Sample XSD-file:--------------
<Schema xmlns="urn:schemas-microsoft-com:xml-data" 
        xmlns:dt="urn:schemas-microsoft-com:datatypes">
	<ElementType name="DATA" content="eltOnly" order="many">
		<element type="CUS" maxOccurs="1" />
	</ElementType>
	<ElementType name="CUS" content="eltOnly" order="many">
		<element type="CUSNBR" maxOccurs="1" />
	</ElementType>
	<ElementType name="CUSNBR" content="textOnly" dt:type="int"/>
</Schema>

 


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent