[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libreoffice
Subject:    Re: GSoC Progress
From:       Mohammed Abdul Azeem <azeemmysore () gmail ! com>
Date:       2016-06-29 18:29:13
Message-ID: CAPrDKyX4AeM8YL1aPY-xonX4pjn0jbBkFtCoFY4aivjvt-RDAQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

*Progress for week5:*
When trying to adopt LegacyFastParser in place of old parser, we hit quite
a few problems. Some of the XDocumentHandlers were using
namespacePrefix:foo kind of comparision directly on element name and some
expect namespace declarations explicitly and tries to resolve the already
resolved name in case of LegacyFastParser.

I thought of pushing xmlns: declaration through unknown attributes (
https://gerrit.libreoffice.org/#/c/26661/ ), but as Michael said, it would
affect the performance where XFastParser is already being used. So I've
reconsidered and thinking of implementing some kind of namespace handler
and keep the bit away from usual cases of XFastParser. I'm currently
looking into all places where XParser is used and where Document
Handler misuses
defined namespaces without resolving them. I'm hoping to write a
comprehensive test to cover all these cases within this week.

Regards,
Azeem

[Attachment #5 (text/html)]

<div dir="ltr">Hi,<div><br></div><div><b>Progress for week5:</b></div><div>When \
trying to adopt LegacyFastParser in place of old parser, we hit quite a few problems. \
Some of the XDocumentHandlers were using namespacePrefix:foo kind of comparision \
directly on element name and some expect namespace declarations explicitly and tries \
to resolve the already resolved name in case of \
LegacyFastParser.</div><div><br></div><div>I thought of pushing xmlns: declaration \
through unknown attributes ( <a \
href="https://gerrit.libreoffice.org/#/c/26661/">https://gerrit.libreoffice.org/#/c/26661/</a> \
), but as Michael said, it would affect the performance where XFastParser is already \
being used. So I&#39;ve reconsidered and thinking of implementing some kind of \
namespace handler and keep the bit away from usual cases of XFastParser. I&#39;m \
currently looking into all places where XParser is used and where Document Handler  \
<span style="font-size:12.8px">misuses defined namespaces without resolving \
them</span>. I&#39;m hoping to write a comprehensive test to cover all these  cases \
within this week.</div><div class="gmail_extra"><div><div class="gmail_signature" \
data-smartmail="gmail_signature"><div \
dir="ltr"><div><br></div>Regards,<div>Azeem</div></div></div></div></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic