12 using namespace cms::xerces;
15 : doValidation_(
false),
39 const XMLCh*
const localname,
40 const XMLCh*
const qname,
43 if( XMLString::equals( qname,
uStr(
"File").ptr()))
51 else if( XMLString::equals( qname,
uStr(
"Root").ptr()))
56 fileName = fileName.substr(0, fileName.find(
"."));
61 else if( XMLString::equals( qname,
uStr(
"Schema").ptr()))
64 doValidation_ = (XMLString::equals(attrs.getValue(
uStr(
"validation").ptr()),
uStr(
"true").ptr()) ?
true :
false);
68 const std::vector<std::string>&
74 const std::vector<std::string>&
const std::string getSchemaLocation() const
DDName is used to identify DDD entities uniquely.
std::vector< std::string > files_
type of data representation of DDCompactView
void setRoot(const DDLogicalPart &root)
don't use : interface not stable ....
static value_type & instance()
ZStr< XMLCh > uStr(char const *str)
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
std::vector< std::string > urls_
const std::vector< std::string > & getURLs() const
std::string schemaLocation_
DDLSAX2ConfigHandler(DDCompactView &cpv)
void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs)
const std::vector< std::string > & getFileNames() const
const bool doValidation() const
volatile std::atomic< bool > shutdown_flag false
XERCES_CPP_NAMESPACE::Attributes Attributes