Namespaces in stylesheets under test

30 views
Skip to first unread message

Cosafina

unread,
Oct 19, 2011, 2:04:36 PM10/19/11
to XSpec
Hi,
I'm trying to write test scenarios for some of our templates, but am
coming up against a problem with namespaces.
Nearly all of our stylesheets include xmlns="http://www.w3.org/1999/
xhtml" in the xsl:stylesheet declaration, and Xspec keeps reporting:

Error at xsl:import on line 11 column 40 of [whichever stylesheet it
is].xsl:
XTSE0165: I/O error reported by XML parser processing

Is there any way round this?
Thanks,
Kate

Tony Graham

unread,
Oct 19, 2011, 2:17:05 PM10/19/11
to xspec...@googlegroups.com

I don't recognise the problem. How do you know it relates to the XHTML
namespace?

Do you also have a DOCTYPE declaration in your source and/or result
documents that includes the standard SYSTEM identifier for the XHTML DTD?

Regards,


Tony Graham tgr...@mentea.net
Consultant http://www.mentea.net
Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
XML, XSL FO and XSLT consulting, training and programming

Cosafina

unread,
Oct 31, 2011, 7:37:04 AM10/31/11
to XSpec
Sorry - my bad! It turned out I had the filename wrong (had included
an underscore in it by mistake).
Many apologies (including for the tardy reply - I've been away in
Brazil!)
Kate

Florent Georges

unread,
Oct 31, 2011, 2:07:39 PM10/31/11
to xspec...@googlegroups.com
On 31 October 2011 12:37, Cosafina wrote:

Hi,

> Sorry - my bad!  It turned out I had the filename wrong (had
> included an underscore in it by mistake).
> Many apologies

No problem, that's rather good news actually ;-)

Regards,

--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/

Reply all
Reply to author
Forward
0 new messages