Re: [Oberon] XML Module in Bluebottle Native (May 22, 2002)
by executing XMLDocument.Write a Trap occurs in the procedure XMLAttribute.Write.
What kind of trap ? Is your attribute type > 9 ? attr.GetType(); --Thomas
frey@inf.ethz.ch wrote:
by executing XMLDocument.Write a Trap occurs in the procedure XMLAttribute.Write.
What kind of trap ? Is your attribute type > 9 ? attr.GetType();
--Thomas -- Oberon@inf.ethz.ch mailing list for ETH Oberon and related systems http://www.lists.inf.ethz.ch/mailman/listinfo/oberon
I didn't find a way to execute GetType() (it doesen't exist in XML.Attribute and it's variable decl is private). According to the constants defined in XML.Mod the types are 0 (CDATA) and 6 (NMTOKEN). BTW: Is it possible to use the XML-Module with an XML-File without the !DOCTYPE-Tag? Alexander
BTW: Is it possible to use the XML-Module with an XML-File without the !DOCTYPE-Tag? Yes.
Can you send the problem code, a tool to compile it and a start command to produce the problem ? (Please send ascii coded or as .zip) mailto:frey@inf.ethz.ch --Thomas
Sorry, Thomas, I forgott to tell you the type of the Trap. It's first line is: [1] TRAP -14 PL 3 Aos 13.08.2002 Alexander.
On Sun, 08 Jun 2003 20:40:09 +0200 Alexander Hofmann <alexhofmann@web.de> wrote:
Sorry, Thomas, I forgott to tell you the type of the Trap. It's first line is: [1] TRAP -14 PL 3 Aos 13.08.2002
Alexander.
As far as I know, this trap is the "Memory Protection Violation" trap. A "cheap" way to get it is to dereference a NIL pointer. Cheers, Vasile
participants (4)
-
Alexander Hofmann -
frey@inf.ethz.ch -
Thomas Frey -
Vasile Rotaru