Class ErrorInfo.IncompleteContentModel

  • Enclosing class:
    ErrorInfo

    public static class ErrorInfo.IncompleteContentModel
    extends ErrorInfo.ElementErrorInfo
    This error occurs when MSV sees an end tag unexpectedly. For example:
    
     <html>
       <head> ... </head>
     </html>  <!-- where is the body element? -->
     

    Usually, this means that additional elements and/or PCDATA are necessary to make the document valid.

    Fields of the class provide information about enclosing tag. (In case of the above example, it is html.)

    • Constructor Detail

      • IncompleteContentModel

        public IncompleteContentModel​(String qn,
                                      String ns,
                                      String loc)
      • IncompleteContentModel

        public IncompleteContentModel​(StartTagInfo sti)