[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
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|