Created
March 7, 2013 11:37
-
-
Save rdeltour/5107452 to your computer and use it in GitHub Desktop.
Calabash OutOfMemory Issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<p:declare-step version="1.0" name="test" xmlns:p="http://www.w3.org/ns/xproc" | |
xmlns:err="http://www.w3.org/ns/xproc-error" xmlns:c="http://www.w3.org/ns/xproc-step" | |
exclude-inline-prefixes="#all" xpath-version="2.0"> | |
<p:output port="result"/> | |
<p:xslt template-name="main"> | |
<p:input port="source"> | |
<p:empty/> | |
</p:input> | |
<p:input port="stylesheet"> | |
<p:inline> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" exclude-result-prefixes="xs" | |
version="2.0"> | |
<xsl:template name="main"> | |
<doc> | |
<xsl:for-each select="(1 to 4000)"> | |
<itemz/> | |
</xsl:for-each> | |
</doc> | |
</xsl:template> | |
</xsl:stylesheet> | |
</p:inline> | |
</p:input> | |
<p:input port="parameters"> | |
<p:empty/> | |
</p:input> | |
</p:xslt> | |
<p:validate-with-relax-ng> | |
<p:input port="schema"> | |
<p:inline> | |
<c:data> | |
namespace local = "" | |
start = Doc | |
Doc = element local:doc { Item* } | |
Item = element local:item { text } | |
</c:data> | |
</p:inline> | |
</p:input> | |
</p:validate-with-relax-ng> | |
</p:declare-step> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment