public void validate(final DOMAdapter domAdapter)
{
if (domAdapter instanceof AttrDOMAdapter)
{
final long curTime = System.nanoTime();
final Region2AttrAdapter attrAdapter = (Region2AttrAdapter) domAdapter;
// check that this is attribute value region - 221722
if (attrAdapter.getAttributeValueRegion() != null)
{
final IStructuredDocumentContext context = IStructuredDocumentContextFactory.INSTANCE
.getContext(attrAdapter.getDocumentContext()
.getStructuredDocument(), attrAdapter
.getOwningElement().getDocumentContext()
.getDocumentPosition()
+ attrAdapter.getAttributeValueRegion()
.getStart());
validateAttributeValue(context, attrAdapter);
}
if (DEBUG)