parser.hxx | parser.hxx | |||
---|---|---|---|---|
skipping to change at line 212 | skipping to change at line 212 | |||
const std::string& namespace_ () const {return pqname_->namespace_ () ;} | const std::string& namespace_ () const {return pqname_->namespace_ () ;} | |||
const std::string& name () const {return pqname_->name ();} | const std::string& name () const {return pqname_->name ();} | |||
const std::string& prefix () const {return pqname_->prefix ();} | const std::string& prefix () const {return pqname_->prefix ();} | |||
const std::string& value () const {return *pvalue_;} | const std::string& value () const {return *pvalue_;} | |||
unsigned long long line () const {return line_;} | unsigned long long line () const {return line_;} | |||
unsigned long long column () const {return column_;} | unsigned long long column () const {return column_;} | |||
// Attribute map lookup. If attribute is not found, then the version | // Attribute map lookup. If attribute is not found, then the version | |||
// without the default value thows an appropriate parsing exception | // without the default value throws an appropriate parsing exception | |||
// while the version with the default value returns that value. | // while the version with the default value returns that value. | |||
// | // | |||
// Note also that there is no attribute(ns,name) version since it | // Note also that there is no attribute(ns,name) version since it | |||
// would conflict with attribute(name,dv) (qualified attributes | // would conflict with attribute(name,dv) (qualified attributes | |||
// are not very common). | // are not very common). | |||
// | // | |||
// Attribute map is valid throughout at the "element level" until | // Attribute map is valid throughout at the "element level" until | |||
// end_element and not just during start_element. As a special case, | // end_element and not just during start_element. As a special case, | |||
// the map is still valid after peek() that returned end_element unti l | // the map is still valid after peek() that returned end_element unti l | |||
// this end_element event is retrieved with next(). | // this end_element event is retrieved with next(). | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||