From: Eric B. <er...@go...> - 2007-12-08 04:50:40
|
Colin Paul Adams wrote: > This is a bit odd. > > When testing one of the W3C XSLT test cases, I was getting an error > from the XML parser when using ISE 6.1, but not when using gec. > > The error is that it was unable to open an xml file - the reason, > because the URI has the file name in lower case, but the actual file > name is in upper case. And I'm running on Linux where file names are > (for worse or for worse - even Microsoft can't get it wrong EVERY > time) case sensitive. > > I shall be reporting the error in the test case to the W3C, but I > don't understand why when compiled with gec there is no error. If you were using files the Gobo way, you would get "False" with the following code: local l_file: KL_TEXT_INPUT_FILE do create l_file.make ("dummy") l_file.open_read print (l_file.is_open_read) However, using files the ISE way, you will not get the exception as expected. This is because when I implemented FILE in gec, there was no support for exception yet. Now, it is possible to raise an exception and rescue it in gec, so I guess I should change the implementation class FILE to raise an exception in order to be more compatible with ISE. -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |