Next in thread →
Next in month →
Re: DOCBOOK-APPS: < in saxon
"Kunath, Marcel" wrote:
> java com.icl.saxon.StyleSheet -o index.html mydoc.xml
> ..\emacs\sgml\stylesheets\dbx129\docbook\html\docbook.xsl
> Fatal error reported by XML parser: name expected (found " ")
> URL: file:mydoc.xml
> Line: 150
> Column: 42
> Error
> org.xml.sax.SAXParseException: name expected (found " "): name expected
> (found
> " ")
> Transformation failed
>
> It's the in/output feed character (<). How do I make this work? Bug in
> saxon?
No, it is bug in your XML code. You must escape this character by entity
reference <. If you have longer code with lots of < and &, you can
surround it by CDATA section:
<para><screen><![CDATA[
C:\bootcd1> mkisofs.exe -N -l -no-iso-translate
-relaxed-filenames -v -o C:\cd.iso disk1
C:\bootcd1> mkbootcd.exe C:\cd.iso - <
mkbootcd.txt]]></screen></para> (<---line 150)
</listitem>
</orderedlist>
</sect1>
-----------------------------------------------------------------
Jirka Kosek
e-mail:
http://www.kosek.cz
Next in thread →
Next in month →