[Portfolio] 503 for DTD request in templated portfolios that import other templates

Sean Keesler sean.keesler at threecanoes.com
Fri Nov 20 07:33:08 PST 2009


I wonder if this is a 2.6-only issue.
Have you tried your template in a 2.6 instance?

Sean Keesler
130 Academy Street
Manlius, New York 13104 USA
315-663-7756
sean.keesler at threecanoes.com


On Thu, Nov 19, 2009 at 3:41 PM, hongbo zhang <hbzhang at vt.edu> wrote:

>  I just tried using xsl:include. It works great.
>
>
>
> I attached the sample file.
>
>
>
> This is the template xsl file used in single form template.  I include
> another xsl file, which has several templates. I just try to call it
>           <xsl:call-template name="Tab1instruction"></xsl:call-template>
> at line 743.
>
>
>
> It seems it works fine for me. We run 2.5.4 instance.
>
>
>
> Hongbo
>
>
>
>
>
> *From:* portfolio-bounces at collab.sakaiproject.org [mailto:
> portfolio-bounces at collab.sakaiproject.org] *On Behalf Of *Sean Keesler
> *Sent:* Thursday, November 19, 2009 3:10 PM
> *To:* osp
> *Subject:* [Portfolio] 503 for DTD request in templated portfolios that
> import other templates
>
>
>
> Has anyone developed a portfolio template using an xsl file that imports
> other xsl files?
> Like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
>
> <!-- this needs to be any publicly accessible xsl file -->
> <xsl:import href="http://yourserver.edu/path/to/your/imported.xsl"/>
>
>    <xsl:template match="/">
>      <xsl:text>Hey there!</xsl:text>
>    </xsl:template>
>
> </xsl:stylesheet>
>
>
>
> When I do, I get a 503 error in the logs related to DTD issues.
>
> I wrote it up as http://jira.sakaiproject.org/browse/SAK-17423.
> It seems like it is similar to the stack trace that was occurring in free
> form portfolios in http://jira.sakaiproject.org/browse/SAK-16536.
>
> This is 2-6-x branch r69087.
>
>
> Sean Keesler
> 130 Academy Street
> Manlius, New York 13104 USA
> 315-663-7756
> sean.keesler at threecanoes.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/portfolio/attachments/20091120/17a7e499/attachment.html 


More information about the portfolio mailing list