Opened 17 years ago

Closed 12 years ago

#15285 closed defect (worksforme)

php5: libxml schemaValidate fails on some schemas

Reported by: jariberg@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jyrkiwahlstedt
Port: php5

Description

In the current Macport PHP5 package the LibXML2 library fails on some schemas when calling schemaValidate (DomDocument->schemaValidate)

I solved this myself by changing --with-libxml-dir in the php5 Portfile and reinstalled php5 (did an uninstall, clean first)

edit: /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/php5/Portfile change: --with-libxml-dir=${prefix} to use the native libxml version by changing it to --with-libxml-dir=/usr

Remember to recompile and stop/start apache. It should now work!

Change History (5)

comment:1 Changed 17 years ago by jmroot (Joshua Root)

Cc: jwa@… added
Milestone: Port Bugs
Owner: changed from macports-tickets@… to ryandesign@…
Summary: libxml schemaValidatephp5: libxml schemaValidate fails on some schemas

Assigning to php5 maintainers.

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Port: php5 added

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Please re-test with the new php53 and php54 ports. If it's still a problem, please provide a reproduction recipe showing the problem.

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

No response; assuming a newer version of libxml and/or php fixed it.

Note: See TracTickets for help on using tickets.