[shrinkwrap-issues] [JBoss JIRA] Created: (SHRINKDESC-69) Metadata Generation cannot support CDI beans_1_0.xsd
Andrew Rubinger (JIRA)
jira-events at lists.jboss.org
Tue Aug 2 14:34:23 EDT 2011
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
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