[shrinkwrap-issues] [JBoss JIRA] Resolved: (SHRINKDESC-69) Metadata Generation cannot support CDI beans_1_0.xsd
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Wed Aug 3 16:14:07 EDT 2011
[ https://issues.jboss.org/browse/SHRINKDESC-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Rubinger resolved SHRINKDESC-69.
---------------------------------------
Fix Version/s: 1.2.0-alpha-1
Resolution: Done
Upstream: https://github.com/shrinkwrap/descriptors/commit/c3158aafa0ab626b4a0443b4753d7eef2442e204
> Metadata Generation cannot support CDI beans_1_0.xsd
> ----------------------------------------------------
>
> Key: SHRINKDESC-69
> URL: https://issues.jboss.org/browse/SHRINKDESC-69
> Project: ShrinkWrap Descriptors
> Issue Type: Sub-task
> Components: gen
> Reporter: Andrew Rubinger
> Assignee: Ralf Battenfeld
> Fix For: 1.2.0-alpha-1
>
>
> When applying this patch:
> {code}[alr at alr-laptop descriptors]$ git diff
> diff --git a/gen/src/main/resources/xslt/schemasJavaEE6.xml b/gen/src/main/resources/xslt/schemasJavaEE6.xml
> index b1961cd..9b9b889 100644
> --- a/gen/src/main/resources/xslt/schemasJavaEE6.xml
> +++ b/gen/src/main/resources/xslt/schemasJavaEE6.xml
> @@ -66,6 +66,12 @@
> <namespace name="xmlns:xsi" value="http://www.w3.org/2001/XMLSchema-instance"/>
> <namespace name="xsi:schemaLocation" value="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/con
> </schema>
> +
> + <schema generateDDClass="true" namespace="javaee" packageApi="org.jboss.shrinkwrap.descriptor.api.cdi10" packageImpl="o
> + <namespace name="xmlns" value="http://java.sun.com/xml/ns/javaee"/>
> + <namespace name="xmlns:xsi" value="http://www.w3.org/2001/XMLSchema-instance"/>
> + <namespace name="xsi:schemaLocation" value="http://java.sun.com/xml/ns/javaee http://docs.jboss.org/cdi/beans_1_0.x
> + </schema>
>
> <!--<schema generateDDClass="true" packageApi="org.jboss.shrinkwrap.descriptor.api.javaeewebservices13" packageImpl="or
> <namespace name="xmlns" value="http://java.sun.com/xml/ns/javaee"/>{code}
> ...the following error is received:
> {code}Error on line 298 of file:/home/alr/business/jboss/git/shrinkwrap/descriptors/gen/src/main/resources/xslt/ddJava.xsl:
> XPTY0004: A sequence of more than one item is not allowed as the first argument of substring-after()
> ; SystemID: file:/home/alr/business/jboss/git/shrinkwrap/descriptors/gen/src/main/resources/xslt/ddJava.xsl; Line#: 298; Column#: -1
> net.sf.saxon.trans.DynamicError: A sequence of more than one item is not allowed as the first argument of substring-after(){code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the shrinkwrap-issues
mailing list