org.apache.xmlbeans.XmlException: error: Unexpected element: CDATA

sourceforge.net | 4 months ago
  1. 0

    SoapUI / Mailing Lists

    sourceforge.net | 4 months ago
    org.apache.xmlbeans.XmlException: error: Unexpected element: CDATA
  2. 0

    soapUI - issue with wsdl that includes xsd

    Stack Overflow | 6 years ago | Dave
    org.apache.xmlbeans.XmlException: error: Unexpected end of file after null
  3. 0

    Attached XML fails to be parsed. Java code to reproduce the problem: XmlObject xml = XmlObject.Factory.parse(new File("d:/__d3configserver.xml")); Throws: org.apache.xmlbeans.XmlException: d:\__d3configserver.xml:457:1: error: Unexpected element: CDATA at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3486) at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1276) at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1263) at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345) at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:252) at org.apache.xmlbeans.XmlObject$Factory.parse(XmlObject.java:639) at com.agfa.apomedia.translation.UtilsTest.testGetTranslatedFile(UtilsTest.java:122) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at junit.framework.TestCase.runTest(TestCase.java:154) at org.jmock.integration.junit3.VerifyingTestCase.runBare(VerifyingTestCase.java:37) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: org.xml.sax.SAXParseException: Unexpected element: CDATA at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java:1038) at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:723) at org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3454) ... 24 more

    Apache's JIRA Issue Tracker | 8 years ago | Aleksei Kazantsev
    org.apache.xmlbeans.XmlException: d:\__d3configserver.xml:457:1: error: Unexpected element: CDATA
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    CSV-Export does not work

    GitHub | 2 years ago | CarstenHollmann
    org.n52.shared.exceptions.ServerException: Could not generate ZIP file.
  6. 0

    XmlBeans error: unexpected element CDATA when parsing String

    Stack Overflow | 4 years ago | Martijn
    org.apache.xmlbeans.XmlException: error: Unexpected element: CDATA

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.xml.sax.SAXParseException

      Unexpected element: CDATA

      at org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError()
    2. XmlBeans
      XmlObject$Factory.parse
      1. org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportFatalError(Piccolo.java:1038)
      2. org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:723)
      3. org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3439)
      4. org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1270)
      5. org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1257)
      6. org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
      7. org.apache.xmlbeans.XmlObject$Factory.parse(XmlObject.java:722)
      7 frames
    3. com.eviware.soapui
      SwingWorker$2.run
      1. com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:102)
      2. com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:465)
      3. com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:490)
      4. com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:456)
      5. com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:178)
      6. com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:237)
      7. com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
      8. com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
      8 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame