36 #include <xercesc/sax/HandlerBase.hpp>
37 #include <xercesc/sax/AttributeList.hpp>
38 #include <xercesc/sax/SAXParseException.hpp>
39 #include <xercesc/sax/SAXException.hpp>
54 : myError(false), myOptions(
OptionsCont::getOptions()), myItem() {}
61 XERCES_CPP_NAMESPACE::AttributeList& attributes) {
63 for (
int i = 0; i < (
int) attributes.getLength(); i++) {
66 if (key ==
"value" || key ==
"v") {
77 if (value.length() > 0) {
80 WRITE_ERROR(
"Could not set option '" + key +
"' (probably defined twice).");
99 const std::string& value)
const {
113 if (
myValue.find_first_not_of(
"\n\t \a") == std::string::npos) {
126 +
toString(exception.getLineNumber() + 1) +
'/' \
127 +
toString(exception.getColumnNumber()) +
").");
138 +
toString(exception.getLineNumber() + 1) +
'/'
139 +
toString(exception.getColumnNumber()) +
").");
150 +
toString(exception.getLineNumber() + 1) +
'/'
151 +
toString(exception.getColumnNumber()) +
").");