Another possibility is that I catch and ignore any system exceptions
that occur during the semantic analysis if errors were reported during
the syntax analysis. I think this is the avenue I will explore.
> -----Original Message-----
> From: saxon-help-admin@...
> [mailto:saxon-help-admin@...] On Behalf Of
> Sent: 24 April 2003 08:04
> To: mhk@...; saxon-help@...
> Subject: RE: [saxon] 7.4 crash, missing paren
> > This is a tricky one - essentially it's a design problem. The
> > expression
> > parser has registered the call on the stylesheet function in a table
> > before the syntax error was discovered, and this entry in
> the table is
> > being processed later during the next phase of checking
> (checking that
> > the function actually exists), but the data structure is incomplete
> > because parsing was aborted.
> > I might have to do what Java does, which is to avoid doing static
> > semantic checks on the stylesheet if any syntax problems were found.
> I personally like Saxons error reporting.
> I'd hate to lose it.
> I don't mind it crashing if I keep max error reporting.
> Is there any way you could precede the crash with some message,
> Is it possible to determine when the data structure is
> complete, and mark it as such? (Wasteful of memory?)
> regards DaveP
> NOTICE: The information contained in this email and any
> attachments is
> confidential and may be legally privileged. If you are not the
> intended recipient you are hereby notified that you must not use,
> disclose, distribute, copy, print or rely on this email's content. If
> you are not the intended recipient, please notify the sender
> immediately and then delete the email and any attachments from your
> RNIB has made strenuous efforts to ensure that emails and any
> attachments generated by its staff are free from viruses. However, it
> cannot accept any responsibility for any viruses which are
> transmitted. We therefore recommend you scan all attachments.
> Please note that the statements and views expressed in this email
> and any attachments are those of the author and do not necessarily
> represent those of RNIB.
> RNIB Registered Charity Number: 226227
> Website: http://www.rnib.org.uk
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> saxon-help mailing list
> https://lists.sourceforge.net/lists/listinfo/s> axon-help