Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with iso_svrl_for_xslt2.xsl producing XSL where rules don't fire. #10

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.Generate XSL for the following schematron: 
https://github.com/rackspace/wadl-tools/blob/master/xsd/wadl.sch
2.When run against a WADL such as: 
https://github.com/openstack/compute-api/blob/master/openstack-compute-api-2/src
/os-compute-2.wadl  none of the none of the rules fire.

What is the expected output? What do you see instead?

Rules should fire.

What version of the product are you using? On what operating system?

Latest trunk, on OS X with latest Saxon-EE

Please provide any additional information below.

The following customization fixes the issue:

<?xml version="1.0" ?>

<xsl:stylesheet
   version="2.0"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
   xmlns:axsl="http://www.w3.org/1999/XSL/TransformAlias"
>

<xsl:import href="iso_svrl_for_xslt2.xsl"/>

<xsl:namespace-alias stylesheet-prefix="axsl" result-prefix="xsl"/>

<xsl:template name="process-prolog">
    <axsl:template match="@*|node()" mode="#all">
        <axsl:apply-templates select="@*|node()" mode="#current"/>
    </axsl:template>
</xsl:template>

</xsl:stylesheet>



Original issue reported on code.google.com by [email protected] on 8 Oct 2012 at 9:19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant