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@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/javaeehttp://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/javaeehttp://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
Move Descriptors Services file out of "gen" module
--------------------------------------------------
Key: SHRINKDESC-70
URL: https://issues.jboss.org/browse/SHRINKDESC-70
Project: ShrinkWrap Descriptors
Issue Type: Sub-task
Reporter: Andrew Rubinger
These need to be in a place where the user can have them visible to the ClassLoader. Likely the impl modules make most sense.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Support XSDs with simpleContent elements
----------------------------------------
Key: SHRINKDESC-63
URL: https://issues.jboss.org/browse/SHRINKDESC-63
Project: ShrinkWrap Descriptors
Issue Type: Sub-task
Reporter: Andrew Rubinger
Presently we need to use some hardcoding to adjust for schemas that define data types in "simpleContent". For instance:
"<xsl:if test="count(xsd:sequence/xsd:any) = 1 or $complexTypeName='faces-config-valueType' or $complexTypeName='credential-interfaceType'">"
..at the time of this writing, this is referenced:
https://github.com/shrinkwrap/descriptors/blob/SHRINKDESC-54/gen/src/main...
Fix the XSL docs to be agnostic to handle all types.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Create "test" module
--------------------
Key: SHRINKDESC-61
URL: https://issues.jboss.org/browse/SHRINKDESC-61
Project: ShrinkWrap Descriptors
Issue Type: Sub-task
Reporter: Andrew Rubinger
Assignee: Andrew Rubinger
Create a "test" module to house test cases manually-coded (not generated) to assert that the API is working, makes sense, and provides adequate test coverage.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Bump target version to 1.2.0-alpha-1
------------------------------------
Key: SHRINKDESC-66
URL: https://issues.jboss.org/browse/SHRINKDESC-66
Project: ShrinkWrap Descriptors
Issue Type: Sub-task
Reporter: Andrew Rubinger
Assignee: Andrew Rubinger
SHRINKDESC-54 and subtasks are targeted for release starting in the 1.2.0-X series; note as such in the version.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Missing "get all"-type methods
------------------------------
Key: SHRINKDESC-65
URL: https://issues.jboss.org/browse/SHRINKDESC-65
Project: ShrinkWrap Descriptors
Issue Type: Sub-task
Reporter: Andrew Rubinger
For instance:
EjbJar30Descriptor.getDisplayNameList()
...but there's no:
EjbJar30Descriptor.getEnterpriseBeansList()
...meaning we're missing a way to get a List of some types. I suspect it's related to not generating methods for complex types.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
import should close stream
--------------------------
Key: SHRINKDESC-18
URL: https://jira.jboss.org/browse/SHRINKDESC-18
Project: ShrinkWrap Descriptors
Issue Type: Feature Request
Components: api
Affects Versions: 1.0.0-alpha-1
Reporter: Dan Allen
Priority: Minor
The import process should close the stream. After all, the main purpose of providing the stream is to slurp up all the contents. If the stream is left open, we throw the burden back on the developer to close it (and all the try/catch block headaches)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira