Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-2340

Exception while parsing XSD with double hyphen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: CODEGEN-2.9
    • Component/s: Nuxeo CLI

      Description

      00:20:52.657 /opt/jenkins/workspace/master/tools_generator-nuxeo-master/tmp/tmp-package/src/main/assemble/assembly.xml:140: java.lang.RuntimeException: org.dom4j.DocumentException: Error on line 7 of document  : The string "--" is not permitted within comments.
      00:20:52.657 	at org.nuxeo.studio.components.common.bundle.RegistrationInfo.read(RegistrationInfo.java:51)
      ...
      00:20:52.658 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      00:20:52.658 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      00:20:52.658 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      00:20:52.658 	at java.lang.Thread.run(Thread.java:748)
      00:20:52.658 Caused by: org.dom4j.DocumentException: Error on line 7 of document  : The string "--" is not permitted within comments.
      00:20:52.658 	at org.dom4j.io.SAXReader.read(SAXReader.java:466)
      00:20:52.658 	at org.dom4j.io.SAXReader.read(SAXReader.java:329)
      00:20:52.658 	at org.nuxeo.studio.components.common.bundle.RegistrationInfo.read(RegistrationInfo.java:48)
      00:20:52.658 	... 
      00:20:52.658 Caused by: org.xml.sax.SAXParseException; lineNumber: 7; columnNumber: 130; The string "--" is not permitted within comments.
      00:20:52.658 	at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
      ...
      00:20:52.658 	at org.dom4j.io.SAXReader.read(SAXReader.java:449)
      00:20:52.658 	... 66 more
      

      See: https://qa.nuxeo.org/jenkins/job/master/job/tools_generator-nuxeo-master/1373/

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: