[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: a weird bug today, tree seems to change mid transf

Subject: Re: a weird bug today, tree seems to change mid transform
From: "bryan rasmussen" <rasmussen.bryan@xxxxxxxxx>
Date: Sat, 8 Sep 2007 20:12:49 +0200
Re:  a weird bug today
> To Bryan: if you search for it on MSKB, you will find that quite many
> issues that have happened over time with the XML Parser of microsoft are
> caused by concurrent access, wrong threading model or similar issues. Of
> course, the issues addressed are about crashes or access violation
> errors. It still sounds to me that your situation suffers the same
> problem but without the violation errors. Here are a couple of those
> articles:
I have some experience with ASP from about 4 years back. Definitely if
it was a violation error I would have figured it was an access error,
I have seen quite a bit of that. That is what should happen by the
ASP/MSXML model, if there is double access on the dom it should return
a violation error from my experience that it didn't made me think a
bug in the processor.

>
> This was a sentence that struck me: "XML Documents are not "marshalled
> by value." If you return an XML document, the instance lives on the
> server". From what I remember about marshalling, this means that each
> time you access a multi-threaded (or remote) document, the property will
> be retrieved again. Meaning, also, that through this marshalling, the
> object can also be changed by another process at any moment.

sure this could cause difficulties IIRC if you were using the document
function. But I've never experience a situation analogous to this one
(but maybe that is because I built my applications to work the way I
expected them to)


I think I should just put this stuff together in a larger document to
send back into the error tracking people and say find this problem in
the application. I suppose one thing that made me freak about this was
I could not know with any certainty if:

1. It was caused by a bug in the processor
2. it was caused by a bug in the application and whatever happened was
not considered a bug in the processor because the particular double
access was allowed although I doubted it because I have seen a number
of access violations in ASP.
3. it was actually done this way in the application on purpose (for an
unknown reason) and they found a way to do this with MSXML (so if
anyone knew a stupid processor trick that allowed one to do this they
could show it to me)

Cheers,
Bryan Rasmussen

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.