|
Subject: xml.dcl error - request for help! From: J-P Theberge <yesod@xxxxxxx> Date: 16 Jul 1999 11:03:15 -0400 |
Hi,
I want to do some xml->html on the fly conversion.
Everything work fine on my local i386 linux machine but when I try to
do the same the remote server (a ApplePPC running MkLinux) I have this
error:
/usr/bin/jade:/home/yesod/public_html/emacs/xml.dcl:2:25:E: minimum data of first minimum literal in SGML declaration must be "ISO 8879:1986" or "ISO 8879:1986 (ENR)" not "ISO 8879:1986 (WWW)"
What does that mean?
Maybe I'm launching Jade the wrong way so here's my script:
#!/bin/bash
JADE=/usr/bin/jade
ERRLOG=/var/tmp/jade.log
DOCDIR=/home/yesod/public_html/emacs
XMLFILE=${DOCDIR}/$(echo ${PATH_INFO} | cut -d'/' -f4)
HTMLFILE=$(echo ${XMLFILE} | sed s/\\.xml$/\\.html/)
echo "Content-type: text/html"
echo
echo "+++ $(date) +++ ${PATH_INFO}" >> ${ERRLOG}
if [ ! -e ${HTMLFILE} ] || [ ${XMLFILE} -nt ${HTMLFILE} ]
then
${JADE} -tsgml \
-c${DOCDIR}/catalog \
-d${DOCDIR}/emacs.dsl \
${DOCDIR}/xml.dcl \
${XMLFILE} \
2>>${ERRLOG} \
| sed s/\\\&\\\#13\\\;//g \
> ${HTMLFILE}
else
echo "hmtl exist.. No parse" >> ${ERRLOG}
fi
cat ${HTMLFILE}
Any Ideas?
Thanks
--
JP Theberge
yesod@xxxxxxxxxxx
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: Doctype problems, Pieter Rijken | Thread | Re: xml.dcl error - request for hel, Peter Nilsson |
| Re: Doctype problems, Brandon Ibach | Date | docbook2man patches, Thomas Lockhart |
| Month |