Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: MSXML crash when transforming WordML document to HTML [Thread Next] Re: MSXML crash when transforming WordML document to HTMLTo: NULL Date: 5/3/2004 5:18:00 PM Presume so. It is included with the Office 2003 'System' (it is in the Office 11 folder in fact). I'd like to know however, what things are different between 4 and 5, but I too can find no information on it. "Cybarber" <luctor@e...> wrote in message news:Ogd%23aU6LEHA.268@T...... > I can't find anything on msxml 5 at msdn? > Is this supposed to be an upgrade for msxml 4.0? > > Cybarber > > > "Andy Fish" <ajfish@b...> schreef in bericht > news:Kcwkc.1368$hy6.13373588@n...... > Thanks Chris, > > I've tried it will msxml5 as per Han's suggestion and that works fine too. > > I'll reinstall msxml4 but even if I can't get to the bottom of it, msxml5 > will be a good enough workaround as my target system has office 2003 > > will post back if I find anything interesting > > Andy > > "Chris Barber" <chris@b...> wrote in message > news:uoC9OStLEHA.808@t...... > > Andy emailed the XML, XSL and VB project to me and as far as I can tell - > the code is spotless. > > I ran it a lot of times without error in both IDE and compiled executable > so I've suggested that > > MSXML4 might be corrupted and should be re-installed. > > > > Chris, > > > > "Chris Barber" <chris@b...> wrote in message > > news:uhCLidsLEHA.2068@T...... > > Can you email me an XML and XSLT that fails for you - I'd like to try it > here? > > > > Does it fail when run from an appropriate IDE such as Xselerator or > XMLSpy? Does it fail if you do > > the transform to string as opposed to object? > > > > Chris. > > > > "Andy Fish" <ajfish@b...> wrote in message > > news:I2ukc.1200$qp5.12182741@n...... > > Hi, > > > > I am trying to use the word2html.xsl stylesheet included as part of > > Microsoft's Word 2003 XML viewer to transform a WordML (AKA > > WordProcessingML) file into HTML > > > > It works with the .Net XSLT processor but when I try to use MSXML4 I get > an > > error message > > > > The instruction at "0x69b1fdff referenced memory at 0x00000004". The > memory > > could not be "read". > > > > when I click OK to terminate, the system seems to go into a loop with VB > > taking 100%cpu > > > > it seems to work OK for trivial documents (a few lines of plain text) and > > fails every time for large complex ones. For some small documents it works > > first time but fails if I do it again. > > > > here is the complete code: > > > > Private Sub Command1_Click() > > Dim xmldoc As New DOMDocument40 > > Dim xsldoc As New DOMDocument40 > > xmldoc.async = False > > xsldoc.async = False > > xsldoc.Load "word2html.xsl" > > xmldoc.Load "word.xml" > > Call xmldoc.transformNode(xsldoc) > > End Sub > > > > (I have stripped out the error checking but suffice to say the documents > > load OK). Here is a sample document: > > > > 1 Heading > > Hello there Hello there Hello there Hello there Hello there Hello there > > Hello there Hello there > > 2 Heading > > > > note that the two headings are in "heading 1" style with automatic > > numbering. > > > > This example works the first 2 times and then crashes the third time I > click > > the button. If one of the headings is not formatted with Heading style, > the > > conversion works every time. > > > > I'm sure this is some kind of timing or memory allocation issue but it's > > fair to say I'm completely stumped on this one. > > > > many thanks for any ideas > > > > Andy > > > > > > > > > > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
