org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.

xerces-j-users | Danny Sinang | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Re: factory.newSchema(schemaLocation) freezes

    xerces-j-users | 5 years ago | Danny Sinang
    org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
  2. 0

    Re: factory.newSchema(schemaLocation) freezes

    xerces-j-users | 5 years ago | Danny Sinang
    org.xml.sax.SAXParseException: The processing instruction target matching "[xX][mM][lL]" is not allowed.
  3. 0

    SAXParserException while trying to read the xsd

    Stack Overflow | 5 years ago | Arun
    org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'file:/D:/softwares/jboss-5.1.0.GA/server/default/deploy/poctest.war/WEB-INF/classes/final.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java HTML 5 validation with XSD / trang HTML 5 Relax NG to XSD conversion

    Stack Overflow | 4 years ago | Marco
    org.xml.sax.SAXParseException: cos-element-consistent: Error for type 'time.inner'. Multiple elements with name 'script', with different types, appear in the model group.
  6. 0

    SAXParseException: src-resolve: Cannot resolve the name to a(n) 'type definition'... - Spring Forum

    spring.io | 2 years ago
    org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name 'tns:YorNTyp ' to a(n) 'type definition' component.

    2 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

      The processing instruction target matching "[xX][mM][lL]" is not allowed.

      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException()
    2. Xerces2-j
      XMLSchemaFactory.newSchema
      1. org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(UnknownSource)
      2. org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
      3. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      4. org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
      5. org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
      6. org.apache.xerces.impl.XMLScanner.scanPIData(Unknown Source)
      7. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanPIData(UnknownSource)
      8. org.apache.xerces.impl.XMLScanner.scanPI(Unknown Source)
      9. org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(UnknownSource)
      10. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(UnknownSource)
      11. org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
      12. org.apache.xerces.impl.xs.opti.SchemaParsingConfig.parse(Unknown Source)
      13. org.apache.xerces.impl.xs.opti.SchemaDOMParser.parse(Unknown Source)
      14. org.apache.xerces.impl.xs.traversers.XSDHandler.getSchemaDocument(UnknownSource)
      15. org.apache.xerces.impl.xs.traversers.XSDHandler.resolveSchema(UnknownSource)
      16. org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(UnknownSource)
      17. org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(UnknownSource)
      18. org.apache.xerces.impl.xs.traversers.XSDHandler.constructTrees(UnknownSource)
      19. org.apache.xerces.impl.xs.traversers.XSDHandler.parseSchema(UnknownSource)
      20. org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(Unknown Source)
      21. org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
      22. org.apache.xerces.impl.xs.XMLSchemaLoader.loadGrammar(Unknown Source)
      23. org.apache.xerces.jaxp.validation.XMLSchemaFactory.newSchema(UnknownSource)
      23 frames
    3. Java RT
      SchemaFactory.newSchema
      1. javax.xml.validation.SchemaFactory.newSchema(Unknown Source)
      2. javax.xml.validation.SchemaFactory.newSchema(Unknown Source)
      2 frames
    4. xplana.com.marklogic
      ValidationV2Test.v2PrototypeTest
      1. xplana.com.marklogic.ingestion.ValidationV2Test.validateXml(ValidationV2Test.java:570)
      2. xplana.com.marklogic.ingestion.ValidationV2Test.v2PrototypeTest(ValidationV2Test.java:851)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    6. JUnit
      InvokeMethod.evaluate
      1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
      2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
      3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
      4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
      4 frames
    7. Spring TestContext
      SpringJUnit4ClassRunner.runChild
      1. org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:74)
      2. org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:83)
      3. org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:72)
      4. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)
      4 frames
    8. JUnit
      ParentRunner$2.evaluate
      1. org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
      2. org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
      3. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
      4. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
      5. org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
      6. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
      6 frames
    9. Spring TestContext
      RunAfterTestClassCallbacks.evaluate
      1. org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
      2. org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:71)
      2 frames
    10. JUnit
      ParentRunner.run
      1. org.junit.runners.ParentRunner.run(ParentRunner.java:236)
      1 frame
    11. Spring TestContext
      SpringJUnit4ClassRunner.run
      1. org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)
      1 frame
    12. JUnit4 Runner
      JUnit4TestReference.run
      1. org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
      1 frame
    13. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      2. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
      5 frames