Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.2.0-alpha-1
    • Component/s: gen
    • Labels:
      None

      Description

      When applying this patch:

      [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/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"/>

      ...the following error is received:

      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()

        Gliffy Diagrams

          Activity

          Show
          alrubinger Andrew Rubinger added a comment - Upstream: https://github.com/shrinkwrap/descriptors/commit/c3158aafa0ab626b4a0443b4753d7eef2442e204

            People

            • Assignee:
              rbattenfeld Ralf Battenfeld
              Reporter:
              alrubinger Andrew Rubinger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development