Uploaded image for project: 'tools-interface-repository#interface-repository'
  1. tools-interface-repository#interface-repository
  2. IFREPO-97

XSLT Translator fails to convert XML with comments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 2.0.1
    • opendof
    • None

      12:30:59.192 DEBUG [http-nio-8081-exec-10] o.o.t.r.i.core.XSLTTranslator - XSLTTranslator.translate with: jar:file:/opt/tomcat/webapps/ROOT/WEB-INF/lib/interface-repository-opendof-2.0.1.jar!/translation/opendof/html-translation.xsl
      Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
      Compiler warnings:
      WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
      Warning: org.apache.xerces.parsers.SAXParser: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
      Warning: org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
      Warning: org.apache.xerces.parsers.SAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.
      ERROR: 'The element type "typedefs" must be terminated by the matching end-tag "</typedefs>".'
      ERROR: 'com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The element type "typedefs" must be terminated by the matching end-tag "</typedefs>".'
      12:30:59.250 DEBUG [http-nio-8081-exec-10] o.o.t.r.i.s.definition.Definition - Failed to translate interface:
      iid: [2:

      {10020016}]
      name: [2:{10020016}

      ]
      version: 1
      publish: false
      repoType: opendof
      created: Wed Oct 19 11:28:13 MDT 2016
      modified: Wed Oct 19 11:28:13 MDT 2016
      submitter:
      name: Manabu Taguchi
      email: taguchi.manabu@kk.jp.panasonic.com
      description: null
      group: false
      date Fri Oct 14 00:55:14 MDT 2016
      accessGroup:
      name: anonymous
      email: anonymous
      description: Anonymous users group
      group: true
      date Fri Aug 12 15:45:49 MDT 2016
      xml:
      xml is present in the table

      javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The element type "typedefs" must be terminated by the matching end-tag "</typedefs>".
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:749)
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:351)
      at org.opendof.tools.repository.interfaces.core.XSLTTranslator.toHTML(XSLTTranslator.java:65)
      at org.opendof.tools.repository.interfaces.servlet.definition.Definition.<init>(Definition.java:121)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:171)
      at org.apache.wicket.session.DefaultPageFactory.newPage(DefaultPageFactory.java:99)
      at org.apache.wicket.DefaultMapperContext.newPageInstance(DefaultMapperContext.java:106)
      at org.apache.wicket.core.request.handler.PageProvider.resolvePageInstance(PageProvider.java:271)
      at org.apache.wicket.core.request.handler.PageProvider.getPageInstance(PageProvider.java:169)
      at org.apache.wicket.request.handler.render.PageRenderer.getPage(PageRenderer.java:78)
      at org.apache.wicket.request.handler.render.WebPageRenderer.isPageStateless(WebPageRenderer.java:287)
      at org.apache.wicket.request.handler.render.WebPageRenderer.shouldRenderPageAndWriteResponse(WebPageRenderer.java:329)
      at org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:193)
      at org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
      at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
      at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
      at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
      at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
      at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
      at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)
      at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:108)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:522)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)
      at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:1110)
      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:785)
      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1425)
      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:745)
      Caused by: javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The element type "typedefs" must be terminated by the matching end-tag "</typedefs>".
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getDOM(TransformerImpl.java:578)
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:739)
      ... 44 common frames omitted
      Caused by: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: The element type "typedefs" must be terminated by the matching end-tag "</typedefs>".
      at com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:427)
      at com.sun.org.apache.xalan.internal.xsltc.dom.XSLTCDTMManager.getDTM(XSLTCDTMManager.java:215)
      at com.sun.org.apache.xalan.internal.xsltc

            jclark Joseph Clark
            jclark Joseph Clark
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: