[ http://issues.apache.org/jira/browse/XALANJ-803?page=all ]
Brian Minchau updated XALANJ-803:
---------------------------------
Version: 2.2.0
(was: Latest Development Code)
> problem with getAssociatedStylesheet
> ------------------------------------
>
> Key: XALANJ-803
> URL: http://issues.apache.org/jira/browse/XALANJ-803
> Project: XalanJ2
> Type: Bug
> Components: Xalan
> Versions: 2.2.0
> Environment: Operating System: Other
> Platform: PC
> Reporter: Rob Tice
> Assignee: Xalan Developers Mailing List
>
> I am currently trying to create the effect of dynamically changing the
> imports within a stylesheet by creating processing instruction nodes in a
> DOM which refer to different stylesheets. To run a quick test on this
> feature I expanded the stylesheets used in the example 'useStylesheetPI'
> to use multiple stylesheets. I do not appear to get the following behaviour
> (quoted from the documentation)
> "An XML document may include more than one xml-stylesheet processing
> instruction, hence the support for working with multiple stylesheets. If
> more than one stylesheet is returned, the other stylesheets are imported
> into the first stylesheet."
> This expected behaviour is further reinforced by the description in the API
> The behaviour that I appear to be getting is that only the last stylesheet
> processing instruction encountered is used and all other stylesheet
> processing instructions are ignored. Can this be investigated as I really
> need this feature. I hope this is the correct forum for this bug (if indeed
> that is what it is as opposed to my lack of understanding).
> I am using xalan-j 2_2_0 and xerces 2_0_0.
> The java is as per
> useStylesheetPI.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]