Cheers for all the info. Just done some tests along the lines of your
suggestions and agree with your findings. Its some sort of problem with
specifying the include files path.

When I place the include file in the same dir as the requesting xml/xsp page
all is fine (href - copyright.xml).

If I give a absolute path from the server root in a requesting XML file
again all fine (href - /content/common/en/copyright.xml).

Here's the bit that baffles me, if I specify a absolute path from the server
root in a requesting XSP page the include fails? Again seems to agree with
you findings (href - /content/common/en/copyright.xml).

That said if I specify a relative path in both the case of the xml and xsp
pages all is fine, (href - ../../../common/en/copyright.xml), so I'll go
with that.

Thanks again for the help.


On 21/05/2002 10:17 pm, "Greg Estep" <[EMAIL PROTECTED]> wrote:

> 
> Oops, I should've included this in my earlier message...
> 
>> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude";;
>>     href="/content/common/copyright.xml"/>
>> 
>> I�ve tried many many combinations but the inclusion is either ignored or I
>> get the error;
>> 
>> error parsing attribute name
>> attributes construct error
>> xmlParseStartTag: problem parsing attributes
>> Couldn't find end of Start Tag
>> <xi:include xmlns:xi="http://w
> 
> 
> If you get rid of the ';' between the xmlns:xi attribute and the href
> attribute the "Couldn't find end of Start Tag" message should go away.  We
> saw the same problem when we just did a copy/past from an example somewhere
> in the documentation.
> 
> --
> Greg Estep <[EMAIL PROTECTED]>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to