Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix XML validation error #454

Closed
2 of 8 tasks
tomkralidis opened this issue Aug 24, 2016 · 9 comments
Closed
2 of 8 tasks

fix XML validation error #454

tomkralidis opened this issue Aug 24, 2016 · 9 comments
Labels

Comments

@tomkralidis
Copy link
Member

Description

As per #453, XML validation fails when using lxml >=3.6.3.

Environment

  • operating system: ubuntu trusty
  • Python version: 2.7
  • pycsw version: master
  • source/distribution
    • git clone
    • DebianGIS/UbuntuGIS
    • PyPI
    • zip/tar.gz
    • other (please specify):
  • web server
    • Apache/mod_wsgi
    • CGI
    • other (please specify):

Steps to Reproduce

See #453 test results.

Additional Information

The issue is rooted either in lxml or libxml2: https://mailman-mail5.webfaction.com/pipermail/lxml/2016-August/007757.html

@tomkralidis
Copy link
Member Author

Turns out it's a libxml2 error in 2.9.4. 2.9.3 works.

@kalxas
Copy link
Member

kalxas commented Nov 3, 2016

Lets keep this open for reference by external projects

@tomkralidis
Copy link
Member Author

+1. Associated bug report, test case, and patch.

@tomkralidis
Copy link
Member Author

@kalxas this is now resolved/fixed upstream. Wondering if these fixes have made it to packaging?

@kalxas
Copy link
Member

kalxas commented Nov 11, 2017

I see that libxml2 released 2.9.7 few days ago.
@tomkralidis which is the upstream release that included that fix? The last one?

@kalxas
Copy link
Member

kalxas commented Nov 11, 2017

@kalxas
Copy link
Member

kalxas commented Nov 11, 2017

Debian 9.0: libxml2 2.9.4+dfsg1-2.2+deb9u1
Ubuntu Xenial: libxml2 2.9.3+dfsg1-1
Ubuntu Bionic: libxml2 2.9.4+dfsg1-5ubuntu1
Redhat EL 7 / CentOS: libxml2 2.9.1-6.el7_2.3
openSUSE Leap 42.3: libxml2-2.9.4-12.1

Current Ubuntu LTS, RedHat/CentOS 7 and Debian 8.0 (old stable) still have the old libxml version.

@tomkralidis
Copy link
Member Author

@kalxas can we close? Perhaps enough time has gone by where newer versions of libxml2 are now widespread.

@kalxas
Copy link
Member

kalxas commented May 15, 2019

Debian 9.0: libxml2 2.9.4+dfsg1-2.2+deb9u2
Debian 10.0: libxml2 2.9.4+dfsg1-7+b3
Ubuntu Xenial: libxml2 2.9.3+dfsg1-1ubuntu0.6
Ubuntu Bionic: libxml2 2.9.4+dfsg1-6.1ubuntu1.2
RedHat EL 7/CentOS: libxml2 2.9.1-6.el7_2.3
RedHat EL 8: not known yet
openSUSE Leap 15.0: libxml2 2.9.7
openSUSE Leap 15.1: libxml2 2.9.7

@kalxas kalxas closed this as completed May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants