Welcome! Log In Create A New Profile

Advanced

XSLT Error - parser error : Document is empty

June 30, 2017 01:32AM
I have been using the same XSLT files and proxy to an xml document for several generations without any problem. Recently (~1.11) I am getting an error when I do 'nginx -t':

/etc/nginx/xsl/so.xslt:1: parser error : Document is empty
error
xsltParseStylesheetFile : cannot parse /etc/nginx/xsl/so.xslt
nginx: [error] xsltParseStylesheetFile("/etc/nginx/xsl/so.xslt") failed in /etc/nginx/sites-enabled/miconcinemas.com:220
nginx: configuration file /etc/nginx/nginx.conf test failed

I have made no changes to the config or the xslt but have never seen this error before.

When I use xlstproc using the same stylesheet with the url to the xml file, the transform works as expected. I am uncertain why this behavior changed.

I am looking for suggestions on how I might diagnose this issue further.
Subject Author Posted

XSLT Error - parser error : Document is empty

webeau June 30, 2017 01:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 283
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready