Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: MSXML crash when transforming WordML document to HTML

From: "Matthew Shaw" <matted@[----------]-------.---.-->
To: 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
> >
> >
> >
> >
>
>




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