Thank you!
On Sun, Oct 18, 2020 at 6:50 AM scoder <email address hidden> wrote:
> ** Changed in: lxml > Status: Fix Committed => Fix Released > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1869455 > > Title: > canonicalize crashes on namespace with no prefix > > Status in lxml: > Fix Released > > Bug description: > https://repl.it/repls/TrustworthyStimulatingRedundancy > > Python : sys.version_info(major=3, minor=8, micro=1, > releaselevel='final', serial=0) > lxml.etree : (4, 5, 0, 0) > libxml used : (2, 9, 10) > libxml compiled : (2, 9, 10) > libxslt used : (1, 1, 34) > libxslt compiled : (1, 1, 34) > > Script: > > xml=""" > <X xmlns="http://soap.sforce.com/2006/04/metadata"> > <Y targets="lightning__AppPage,lightning__HomePage"></Y> > </X>""" > print(etree.canonicalize(xml)) > > Exception: > > File "src/lxml/serializer.pxi", line 1079, in > lxml.etree.C14NWriterTarget._qname > ValueError: Namespace "" is not declared in scope > > To manage notifications about this bug go to: > https://bugs.launchpad.net/lxml/+bug/1869455/+subscriptions >
Thank you!
On Sun, Oct 18, 2020 at 6:50 AM scoder <email address hidden> wrote:
> ** Changed in: lxml /bugs.launchpad .net/bugs/ 1869455 /repl.it/ repls/Trustwort hyStimulatingRe dundancy info(major= 3, minor=8, micro=1, 'final' , serial=0) soap.sforce. com/2006/ 04/metadata"> "lightning_ _AppPage, lightning_ _HomePage" ></Y> canonicalize( xml)) serializer. pxi", line 1079, in C14NWriterTarge t._qname /bugs.launchpad .net/lxml/ +bug/1869455/ +subscriptions
> Status: Fix Committed => Fix Released
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> canonicalize crashes on namespace with no prefix
>
> Status in lxml:
> Fix Released
>
> Bug description:
> https:/
>
> Python : sys.version_
> releaselevel=
> lxml.etree : (4, 5, 0, 0)
> libxml used : (2, 9, 10)
> libxml compiled : (2, 9, 10)
> libxslt used : (1, 1, 34)
> libxslt compiled : (1, 1, 34)
>
> Script:
>
> xml="""
> <X xmlns="http://
> <Y targets=
> </X>"""
> print(etree.
>
> Exception:
>
> File "src/lxml/
> lxml.etree.
> ValueError: Namespace "" is not declared in scope
>
> To manage notifications about this bug go to:
> https:/
>