From: Colin P. A. <co...@co...> - 2007-12-07 08:26:46
|
I just managed to build Gestalt with gec (using the new eposix alpha build), and I did a few tests, but when I tried an identity transformation of http://www.w3.org (a good source for guarent5eed wel-formed xhtml), I get: Fatal error: http://www.gobosoft.com/eiffel/gobo/gexslt/extension#BUILD_ERROR: ?:1:1:URI http://www.w3.org PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" which to me looks like a failure to parse the DOCTYPE statement correctly. If I view the page in Firefox, and then select View Source, the first two lines are: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> which certainly contains a good ExternalID. So I saved the text to disk, and repeated the transformation, this time using a file: URI to my saved local copy - this worked OK. I then tried compiling with ISE 6.1 in workbench mode and repeated the test. It turns out that the problem is due to the missing / on the end of the URI: precondition violated - path not empty in {EPX_HTTP_10_CLIENT}.get This seems a reasonable precondition to me. If the / is presnt, then a path of / gets passed to get and all is well. In the HTTP URI resolver, I am passing {UT_URI}.path to {EPX_HTTP_10_CLIENT}.get. Who is wrong here? Is it the implementation of {UT_URI}.path, or should the HTTP resolver be checking for an empty path, and passing "/" in that case? Franck? -- Colin Adams Preston Lancashire |