org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x{2}) was found in the value of attribute "{1}" and element is "1a".

openstreetmap.de | 4 months ago
  1. 0

    #7614 (preferences.xml: invalid XML character / reference to entity) – JOSM

    openstreetmap.de | 5 months ago
    org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x{2}) was found in the value of attribute "{1}" and element is "1a".
  2. 0

    #7614 (preferences.xml: invalid XML character / reference to entity) – JOSM

    openstreetmap.de | 4 months ago
    org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x{2}) was found in the value of attribute "{1}" and element is "1a".
  3. 0

    Validation failure in JDK 1.6, success in JDK 1.7

    Stack Overflow | 3 years ago | ctabin
    org.xml.sax.SAXParseException: Not enough values specified for <unique> identity constraint specified for element "Salaries".
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using dom4j DOMDocument to feed validator.validate(DOMSource) fails in java 1.6 (xsi:noNamespaceSchemaLocation is not allowed), works in 1.5

    Stack Overflow | 6 years ago | user598656
    org.xml.sax.SAXParseException: cvc-complex-type.3.2.2: Attribute 'xsi:noNamespaceSchemaLocation' is not allowed to appear in element 'specialfields'.; complex-type.3.2.2: Attribute 'xsi:noNamespaceSchemaLocation' is not allowed to appear in element 'specialfields'.

    3 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

      An invalid XML character (Unicode: 0x{2}) was found in the value of attribute "{1}" and element is "1a".

      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException()
    2. Java RT
      Validator.validate
      1. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)
      2. com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
      3. com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:391)
      4. com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1391)
      5. com.sun.org.apache.xerces.internal.impl.XMLScanner.scanAttributeValue(XMLScanner.java:944)
      6. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute(XMLNSDocumentScannerImpl.java:436)
      7. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:253)
      8. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2732)
      9. com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:625)
      10. com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)
      11. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:488)
      12. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
      13. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:741)
      14. com.sun.org.apache.xerces.internal.jaxp.validation.StreamValidatorHelper.validate(StreamValidatorHelper.java:147)
      15. com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(ValidatorImpl.java:116)
      16. javax.xml.validation.Validator.validate(Validator.java:124)
      16 frames
    3. org.openstreetmap.josm
      MainApplication.main
      1. org.openstreetmap.josm.data.Preferences.validateXML(Preferences.java:1476)
      2. org.openstreetmap.josm.data.Preferences.load(Preferences.java:621)
      3. org.openstreetmap.josm.data.Preferences.load(Preferences.java:583)
      4. org.openstreetmap.josm.data.Preferences.init(Preferences.java:720)
      5. org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:194)
      5 frames