com.sun.msv.verifier

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>  &lt;!-- where is the body element? --&gt;
 

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/interfaces 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

IncompleteContentModel(String qn, String ns, String loc)
IncompleteContentModel(StartTagInfo sti)

Constructor Details

IncompleteContentModel

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

IncompleteContentModel

public IncompleteContentModel(StartTagInfo sti)