Interface NiceXmlMessageFormatter


public interface NiceXmlMessageFormatter
Formats a NiceXmlMessageSpec to make the full message of an XmlException.
See Also:
  • Field Details

    • SINGLE_LINE

      static final NiceXmlMessageFormatter SINGLE_LINE
    • FULL_MESSAGE

      static final NiceXmlMessageFormatter FULL_MESSAGE
      Formats errors like:
      Error (XML parsing) at /some/file.xml:3:15
          1| <?xml version="1.0" encoding="UTF-8" standalone="no"?>
          2| <list>
          3|     <list foo="&amb;"/>
                                 ^ The entity "amb" was referenced, but not declared.
      
          4| </list>
      
  • Method Details