[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSLT 2.0 compability issue occured in topicmerge.X

Subject: Re: XSLT 2.0 compability issue occured in topicmerge.XSL in DITA 1.5.1
From: team wise <dfanster@xxxxxxxxx>
Date: Tue, 19 Jun 2012 21:01:34 +0800
Re:  XSLT 2.0 compability issue occured in topicmerge.X
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@xxxxxxxxxxxx>:
>  >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
>
>


-- 
Keep an Exacting Eye for Detail

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.