154
155
const QXmlStreamAttributes attrs(attributes());
157
158
READ_ATTR_WITHOUT_NS(Target)
158
159
QString fixedPath(m_context->path);
159
160
while (Target.startsWith("../")) {
162
163
fixedPath.truncate(fixedPath.lastIndexOf('/'));
169
170
m_context->rels->insert(d->pathAndFile + Id, fixedPath + '/' + Target);
172
m_context->targetsForTypes->insert(targetKey(m_context->path + '/' + m_context->file, Type), fixedPath + '/' + Target);