Am Thursday, 05. June 2003 16:10, schrieb Tod Harter:
> On Thursday 05 June 2003 07:18 am, J�rg Walter wrote:
> > Am Thursday, 05. June 2003 01:51, schrieb Tod Harter:
> > > Yeah, the problem is that XML::LibXML requires a flag to be set when
> > > the parser is instantiated to tell it to process xincludes. I made a
> > > patch to set the flag, but I never did get it to work. The result is
> > > that in STATIC xml pages (non-XSP) AxKit DOES process xincludes, but in
> > > XSP land it doesn't.
> >
> > I don't know what AxKit you are using, but all my AxKit installations
> > definitely do XInclude for XSP, I use it all over the place.
>
> In 1.6.x XSP DOES NOT do XInclude. I went over this with Matt. I tried
> hacking my copy. I never could get it to work. As I said, STATIC XML DOES
> do XInclude. Maybe something is peculiar about my system? I don't know...

So, then tell me why this fragment (cut&paste from a fairly large site) works?

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsp:page language="Perl"
 xmlns:xsp="http://www.apache.org/1999/XSP/Core";
 xmlns:session="http://www.apache.org/1999/XSP/Session";
 xmlns:auth="http://www.creITve.de/2002/XSP/Auth";
 xmlns:rsddl="http://www.creITve.de/2002/RSDDL";
 xmlns:esql="http://apache.org/xsp/SQL/v2";
 xmlns:xi="http://www.w3.org/2001/XInclude";
 xmlns="http://www.w3.org/1999/xhtml";
>
<html>
<rsddl:description>
<xi:include href="/types/base.rsddl"/>
<rsddl:type name="username" base="string">
  <rsddl:size min="2" max="32"/>
  <rsddl:match charset="-a-zA-Z0-9_ .<E4><F6><FC><C4><D6><DC><DF>"/>
</rsddl:type>
<!-- and so on... -->

Really, this site relies heavily on the presence of /types/base.rsddl in 
almost every XSP script as it is a library of data type definitions. It 
always worked and still does.

-- 
CU
   Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to