Thanks.  You are correct - this should have been sent to the Xalan list - I
just thought I had misconfigured my jar files.

Anyway, your suggestion did get me past the XSL error, but I am now seeing
the following:

Dumping configuration:
[ERROR] Unknown formatting object ^layout-master-set
[ERROR] Unknown formatting object ^simple-page-master
[ERROR] Unknown formatting object ^region-before
[ERROR] Unknown formatting object ^region-after
[ERROR] Unknown formatting object ^region-body
[ERROR] Unknown formatting object ^page-sequence-master
[ERROR] Unknown formatting object ^repeatable-page-master-reference
[ERROR] Unknown formatting object ^page-sequence
[ERROR] Unknown formatting object ^static-content
[ERROR] Unknown formatting object ^block
[ERROR] Unknown formatting object ^external-graphic
[ERROR] Unknown formatting object ^table
[ERROR] Unknown formatting object ^table-column
[ERROR] Unknown formatting object ^table-body
[ERROR] Unknown formatting object ^table-row
[ERROR] Unknown formatting object ^table-cell
[ERROR] Unknown formatting object ^page-number
[ERROR] Unknown formatting object ^page-number-citation
[ERROR] Unknown formatting object ^basic-link
[ERROR] Unknown formatting object ^flow
[ERROR] Unknown formatting object ^table-header
[ERROR] Unknown formatting object ^inline
[ERROR] Unknown formatting object ^leader

I'll look into why this is happening.

Thanks for your help.

-Lou





Jeremias Maerki <[EMAIL PROTECTED]> on 04/15/2003 15:59:20

Please respond to [EMAIL PROTECTED]

To:   [EMAIL PROTECTED]
cc:

Subject:  Re: xsl:import error with new jaxp and fop 0.20.5rc2

According to the non-normative DTD fragment in the XSLT spec xsl:import
must occur at the very beginning withing the xsl:stylesheet element.
Only xsl:include instances may occur later. Your new version has
probably started checking for these rules where older versions did not.
Please realize that this was a question better directed at the Xalan
User mailing list. I hope this helps anyway.

<!ENTITY % top-level "
 (xsl:import*,
  (xsl:include
  | xsl:strip-space
  | xsl:preserve-space
  | xsl:output
  | xsl:key
  | xsl:decimal-format
  | xsl:attribute-set
  | xsl:variable
  | xsl:param
  | xsl:template
  | xsl:namespace-alias
  %non-xsl-top-level;)*)
">

On 15.04.2003 20:15:40 Louis.Masters wrote:
> I just upgraded to fop 0.20.5rc2 and switched to jaxp (newest version)
and
> now all of my stylesheets transformations fail with the following:
>
> javax.xml.transform.TransformerException: xsl:import is not allowed in
this
> position in the stylesheet!
>      at
>
org.apache.xalan.processor.StylesheetHandler.error(StylesheetHandler.java:951)

>      at
<snip/>
>
> I think it has something to do with the jar files - can someone please
send
> me a jar file version list for this version of FOP and/or any suggestions
> on how to fix this.


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]









---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to