Re: gnue-navigator

Jason Cater <[email protected]>
Newsgroups gmane.comp.gnu.enterprise.general
Organization National Community Services, Inc.
Message-ID <[email protected]>
I'm not entirely sure what is wrong with that snippet, but the error is saying 
that expat thinks the XML is improperly formatted. 

Any one else see why expat would think that? I'm not in XML-mode today.

-- Jason 


On Wednesday 07 April 2004 11:38 am, Christophe Vigny wrote:
> realy :
>
>     <step type="form" location="http://localhost/zipcode.gfd"
>           title="ZipCode">
>       <description>
>         <![CDATA[
>           <B>Form Description 1:</B><p>
>           Launches the somewhere.gfd form.<p>
>           <hr>
>           <font size="-2">
>           This form doesn't exist in the GNUe Navigator distro so
> selecting this entry does nothing.  It is simply a place holder.
>           </font>
>         ]]>
>       </description>
>     </step>
>
> and
>
> c:\sourcesafe\python\gnue\gnue-navigator\samples>gn sample.gpd
> DB000: Traceback (most recent call last):
> DB000:   File "C:\Python22\Lib\site-packages\gnue\navigator\UIwx.py",
> line 189, in OnTreeItemActivat
> ed
> DB000:     object.run()
> DB000:   File
> "C:\Python22\Lib\site-packages\gnue\navigator\GNObjects.py", line 174,
> in run
> DB000:     self._controller._clientHandlers[self.type](self)
> DB000:   File "C:\Python22\Lib\site-packages\gnue\navigator\UIwx.py",
> line 240, in runForm
> DB000:     self._runForm(formfile, parameters)
> DB000:   File "C:\Python22\Lib\site-packages\gnue\navigator\UIwx.py",
> line 261, in _runForm
> DB000:     instance.addFormFromFile(formfile)
> DB000:   File "C:\Python22\Lib\site-packages\gnue\forms\GFInstance.py",
> line 221, in addFormFromFile
>
> DB000:     self.addFormFromFilehandle(fileHandle)
> DB000:   File "C:\Python22\Lib\site-packages\gnue\forms\GFInstance.py",
> line 243, in addFormFromFile
> handle
> DB000:     form = loadFile (fileHandle, self, initialize=0)
> DB000:   File "C:\Python22\Lib\site-packages\gnue\forms\GFParser.py",
> line 68, in loadFile
> DB000:     initialize, attributes={"_instance": instance,
> DB000:   File
> "C:\Python22\Lib\site-packages\gnue\common\definitions\GParser.py", line
> 108, in loadX
> MLObject
> DB000:     parser.parse(stream)
> DB000:   File
> "C:\Python22\Lib\site-packages\_xmlplus\sax\expatreader.py", line 107,
> in parse
> DB000:     xmlreader.IncrementalParser.parse(self, source)
> DB000:   File "C:\Python22\Lib\site-packages\_xmlplus\sax\xmlreader.py",
> line 123, in parse
> DB000:     self.feed(buffer)
> DB000:   File
> "C:\Python22\Lib\site-packages\_xmlplus\sax\expatreader.py", line 211,
> in feed
> DB000:     self._err_handler.fatalError(exc)
> DB000:   File "C:\Python22\Lib\site-packages\_xmlplus\sax\handler.py",
> line 38, in fatalError
> DB000:     raise exception
> DB000: xml.sax._exceptions.SAXParseException: <unknown>:1:49: syntax error
>
> another one :
>
> c:\sourcesafe\python\gnue\gnue-navigator\samples>gf
> http://localhost/zipcode.gfd
> DB000: Traceback (most recent call last):
> DB000:   File "c:\python22\scripts\gnue-forms", line 35, in ?
> DB000:     client.run ()
> DB000:   File "C:\Python22\Lib\site-packages\gnue\forms\GFClient.py",
> line 168, in run
> DB000:     instance.addFormFromFile(formfile)
> DB000:   File "C:\Python22\Lib\site-packages\gnue\forms\GFInstance.py",
> line 221, in addFormFromFile
>
> DB000:     self.addFormFromFilehandle(fileHandle)
> DB000:   File "C:\Python22\Lib\site-packages\gnue\forms\GFInstance.py",
> line 243, in addFormFromFile
> handle
> DB000:     form = loadFile (fileHandle, self, initialize=0)
> DB000:   File "C:\Python22\Lib\site-packages\gnue\forms\GFParser.py",
> line 68, in loadFile
> DB000:     initialize, attributes={"_instance": instance,
> DB000:   File
> "C:\Python22\Lib\site-packages\gnue\common\definitions\GParser.py", line
> 108, in loadX
> MLObject
> DB000:     parser.parse(stream)
> DB000:   File
> "C:\Python22\Lib\site-packages\_xmlplus\sax\expatreader.py", line 107,
> in parse
> DB000:     xmlreader.IncrementalParser.parse(self, source)
> DB000:   File "C:\Python22\Lib\site-packages\_xmlplus\sax\xmlreader.py",
> line 123, in parse
> DB000:     self.feed(buffer)
> DB000:   File
> "C:\Python22\Lib\site-packages\_xmlplus\sax\expatreader.py", line 211,
> in feed
> DB000:     self._err_handler.fatalError(exc)
> DB000:   File "C:\Python22\Lib\site-packages\_xmlplus\sax\handler.py",
> line 38, in fatalError
> DB000:     raise exception
> DB000: xml.sax._exceptions.SAXParseException: <unknown>:1:49: syntax error
>
> just a bug ?
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.