[XML-SIG] PyXPath 1.1

Mike Olson Mike.Olson@fourthought.com
Tue, 02 Jan 2001 23:06:00 -0700


uche.ogbuji@fourthought.com wrote:
> >
> > Likely! :-) I briefly skimmed the source and 4suite.org and can't seem
> > to get a good description of what those structures look like, is there
> > a URL I missed?
> 
> There is no such beast.  These were originally intended to be purely internal
> objects.  If we decided to expose them as an API, we'd want to decide on the
> naming (Martin doesn't like the "Parsed" prefixes, I'm +0 on killing them) and
> document them properly.

I'm confused.  This thread originally started as an interface from
multiple lexers into 4XPath (if I remeber correctly).  However, the
Parsed* classes in 4XPath are created by the parser (Bison).  This is
why I originally recommended the interface of a token stream to feed
into the parser (currently Bison, but could be replaced with a python
only version).

Mike



> 
> For now, your best bet is to have a look at XPath/Parsed* in 4Suite (and also
> check out Xslt/Parsed* for the associated Pattern machine objects).
> 
> > Note also: I'm getting odd URL redirects going to 4suite.{org|com},
> > with URLs being replaced with quoted strings that then won't resolve:
> >
> >   http://www.4suite.org/
> >     --> http://www.4suite.org/"index.epy"
> >
> > This seems to happen on "directory" URLs.
> 
> Hmm.  I looked into this, but I'm not seeing it.  I went as bare-bones as
> possible to avoid user agent artifacts and all that:
> 
> [uogbuji@borgia uogbuji]$ telnet www.4suite.org 80
> Trying 204.144.146.184...
> Connected to dollar.4suite.org.
> Escape character is '^]'.
> GET http://www.4suite.org/ HTTP/1.0
> 
> HTTP/1.1 200 OK
> Date: Wed, 27 Dec 2000 01:14:59 GMT
> Server: Apache/1.3.12 (Unix) mod_snake/0.4.1
> Last-Modified: Thu, 02 Nov 2000 19:07:30 GMT
> ETag: "36f0d-178-3a01bb72"
> Accept-Ranges: bytes
> Content-Length: 376
> Connection: close
> Content-Type: text/html
> 
> <html>
> <head>
>   <meta http-equiv='Content-Type' content='text/html'>
>   <meta http-equiv='Refresh' content='1;URL="index.epy"'>
> </head>
> <body>
> 
>   <TABLE WIDTH="100%" HEIGHT="100%">
>     <TR>
>       <TD ALIGN="CENTER">  <img src="images/4suite-org.gif"/><BR>
>          <FONT SIZE="+1"><A HREF="index.epy">Click to Enter</A></FONT>
>       </TD>
>     </TR>
>   </TABLE>
> 
> </body>
> </html>
> Connection closed by foreign host.
> [uogbuji@borgia uogbuji]$
> 
> As you can see, the meta refresh goes to the relative "index.epy".  I don't
> know how this would cause the effect you mention.  What user agent are you
> using?
> 
> Thanks.
> 
> --
> Uche Ogbuji                               Principal Consultant
> uche.ogbuji@fourthought.com               +1 303 583 9900 x 101
> Fourthought, Inc.                         http://Fourthought.com
> 4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
> Software-engineering, knowledge-management, XML, CORBA, Linux, Python

-- 
Mike Olson				 Principal Consultant
mike.olson@fourthought.com               (303)583-9900 x 102
Fourthought, Inc.                         http://Fourthought.com 
Software-engineering, knowledge-management, XML, CORBA, Linux, Python