37 : reader_(url), parser_(
parser), itemNamespaceId_(-1)
43 RTL_CONSTASCII_STRINGPARAM(
"http://openoffice.org/2001/registry")));
47 RTL_CONSTASCII_STRINGPARAM(
"http://www.w3.org/2001/XMLSchema")));
51 RTL_CONSTASCII_STRINGPARAM(
52 "http://www.w3.org/2001/XMLSchema-instance")));
58 sal_uInt32 startTime( osl_getGlobalTimer() );
61 ? xmlreader::XmlReader::Result::Begin
65 case xmlreader::XmlReader::Result::Begin:
69 SAL_INFO(
"configmgr",
"parsing " <<
reader_.
getUrl() <<
" took " << (osl_getGlobalTimer() - startTime) <<
" ms, fail");
73 case xmlreader::XmlReader::Result::End:
76 case xmlreader::XmlReader::Result::Text:
79 case xmlreader::XmlReader::Result::Done:
80 SAL_INFO(
"configmgr",
"parsing " <<
reader_.
getUrl() <<
" took " << (osl_getGlobalTimer() - startTime) <<
" ms, success");
bool parse(std::set< OUString > const *existingDependencies)
ParseManager(OUString const &url, rtl::Reference< Parser > const &parser)
rtl::Reference< Parser > parser_
xmlreader::XmlReader reader_
virtual ~ParseManager() override
xmlreader::Span itemData_
int registerNamespaceIri(Span const &iri)
const OUString & getUrl() const
Result nextItem(Text reportText, Span *data, int *nsId)
#define SAL_INFO(area, stream)