xsl-list
[Top] [All Lists]

Re: [xsl] XSLT 2.0 compability issue occured in topicmerge.XSL in DITA 1.5.1

2012-06-19 08:02:27
Hi Michael,
It seems I am now very close to resovle the issue, as it hits the PSMI
transform stage.
Having tweaked a couple of <xsl:element> <xsl:attribute> issues, I now
end up here:

 [xslt] 
D:\InfoShare\DataSOMC\PublishingService\Data\DataExports\GUID-AA6DE3A2-8ECD-47B5-9839-4C705E444AC4.20120618182735036\1\en\out\GUID-F6C2D026-C2A6-4376-AD33-EB2BF5AE0544.psmi:1:39:
Fatal Error! Error reported by XML parser Cause:
org.xml.sax.SAXParseException: Content is not allowed in prolog.

It looks like a Saxon issue.

Any thoughts would be much appreciated.

Ray
2012/6/19, Michael Kay <mike(_at_)saxonica(_dot_)com>:
 >I have a favor to ask what kind of a running sample would be desirable
for you to spot the error.

A stylesheet and source document, as short as you can make them, which
have no external dependencies, so anyone can try running them.

 > I have tried replacing the line <xsl:variable
name="topicrefClass"><xsl:value-of select="@class"/></xsl:variable> with
this line <xsl:variable name="topicrefClass" select="string(@class)"/> ,
but made no difference.

I should have made it clear that this observation about your code was
just an inefficiency I noticed, it has nothing to do with the problem
you are experiencing.

Michael Kay
Saxonica

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




-- 
Keep an Exacting Eye for Detail

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--