Пример #1
0
void ViewTableListWidget::sendView()
{
    //发送视图
    qDebug()<<tr("发送视图");
    emit send(curindex);
    SendViewFiles svf(viewfilenames);

    svf.exec();
}
Пример #2
0
EventGenerator::Ptr XQValidate::generateEvents(EventHandler *events, DynamicContext *context,
                                          bool preserveNS, bool preserveType) const
{
  // Stream the node through the schema validator
  SchemaValidatorFilter svf(mode_ == DocumentCache::VALIDATION_STRICT, events,
                            context->getDocumentCache()->getGrammarResolver(),
                            context->getMemoryManager(), this);
  ValidateArgumentCheckFilter argCheck(&svf, mode_, context, this);
  expr_->generateAndTailCall(&argCheck, context, true, false);
  return 0;
}
Пример #3
0
void XercesUpdateFactory::completeRevalidation(DynamicContext *context)
{
  if(valMode_ == DocumentCache::VALIDATION_SKIP) return;

  for(DOMNodeSet::iterator i = forRevalidation_.begin(); i != forRevalidation_.end(); ++i) {
    DOMNode *top = *i;

    // TBD element default/normalized values - jpcs

    // Stream the node through the schema validator, and back to the RevalidationEventHandler,
    // which will write the information back into the node
    RevalidationEventHandler reh(top);
    SchemaValidatorFilter svf(valMode_ == DocumentCache::VALIDATION_STRICT, &reh,
                              context->getDocumentCache()->getGrammarResolver(),
                              context->getMemoryManager(), 0);
    ValidateArgumentCheckFilter argCheck(&svf, valMode_, context, 0);

    XercesNodeImpl::generateEvents(top, &argCheck, true, false);
    argCheck.endEvent();
  }
}