com.sun.msv.verifier
Class ErrorInfo.IncompleteContentModel

java.lang.Object
  extended bycom.sun.msv.verifier.ErrorInfo
      extended bycom.sun.msv.verifier.ErrorInfo.ElementErrorInfo
          extended bycom.sun.msv.verifier.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.)


Nested Class Summary
 
Nested classes inherited from class com.sun.msv.verifier.ErrorInfo
ErrorInfo.BadAttribute, ErrorInfo.BadTagName, ErrorInfo.BadText, ErrorInfo.ElementErrorInfo, ErrorInfo.IncompleteContentModel, ErrorInfo.MissingAttribute
 
Field Summary
 
Fields inherited from class com.sun.msv.verifier.ErrorInfo.ElementErrorInfo
localName, namespaceURI, qName
 
Constructor Summary
ErrorInfo.IncompleteContentModel(StartTagInfo sti)
           
ErrorInfo.IncompleteContentModel(String qn, String ns, String loc)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorInfo.IncompleteContentModel

public ErrorInfo.IncompleteContentModel(StartTagInfo sti)

ErrorInfo.IncompleteContentModel

public ErrorInfo.IncompleteContentModel(String qn,
                                        String ns,
                                        String loc)


Copyright © 2001-2003 Sun Microsystems, Inc. Documenation generated April 28 2005.