OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dita-learningspec message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Fwd: learningsc build error


Hi again John,

Derek has found more details of the problem this morning.

Is there anyone else we can turn to for support? I will copy this to the LC subcommittee.

For example, I see that Deborah Pickett has answered questions about plugin extension points on the dita-users@yahoo list.

Is this work public enough to go out to dita-users for answers?

Thanks,

Bob.

---------- Forwarded message ----------
From: Derek Doyle <derekthomisdoyle@gmail.com>
Date: Jul 17, 2007 1:49 PM
Subject: learningsc build error
To: Bob Doyle < bobdoyle@skybuilders.com>

After a build failure using the simple learning design (using the command provided in the learningsc plugin README.html file: java -jar lib/dost.jar /i:demo/learningsc/sample/learningdomains.ditamap /transtype:xhtml /outdir:demo/learningsc/out), learningdomains_xhtml.log has this to say (amongst other things, see previous attachment for details):

[xslt] Loading stylesheet /usr/local/share/DITA-OT1.3.1/xsl/preprocess/mappull.xsl
[xslt] /usr/local/share/DITA-OT1.3.1/xsl/preprocess/mappull.xsl:1:30: Error! Error reported by XML parser Cause: org.xml.sax.SAXParseException : undeclared name prefix in: xsl:stylesheet

An examination of xsl/preprocess/mappull.xsl shows that there is no xmlns attribute declaring the namespace xsl, making this an invalid stylesheet:

<xsl:stylesheet version=" 1.0">
  <xsl:import href=""mappullImpl.xsl"></xsl:import> 
  <xsl:output method="xml" encoding="utf-8" indent="no"></xsl:output>
</xsl:stylesheet>

Any attempt to insert the missing attribute is foiled by the next build, which overwrites the mappull.xsl file back to the invalid state shown above.  This seems to be an effect of the fact that many of these xsl files are in fact extension points for plugin customization.  However, the origin of the invalid mappull.xsl source is quite unclear either in the DITA-OT itself, or in the contents of the plugin.

For cross-comparison, here it the source of mappull.xsl from our other installation of the DITA-OT without the learningsc plugin (note that it does have the xmlns attribute properly set):

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:import href=""mappullImpl.xsl"></xsl:import>
  <xsl:output method="xml" encoding="utf-8" indent="no"></xsl:output>
</xsl:stylesheet>

--
Derek



--
Bob Doyle
Editor In Chief, CMS Review - http://www.cmsreview.com
Founder, DITA Users -  http://www.ditausers.org
Former Technology Advisor, CM Pros - http://www.cmprofessionals.org/membership/cm-profiles/bob-doyle
Contributing Editor, EContent Magazine -
http://www.econtentmag.com/About/AboutAuthor.aspx?AuthorID=155
President and CEO, skyBuilders - http://www.skybuilders.com
77 Huron Avenue
Cambridge, MA 02138
Tel: +1 617-876-5676   Skype:bobdoyle

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]