This is the mail archive of the mailing list .

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: < 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 &lt;. If you have longer code with lots of < and &, you can
surround it by CDATA section:

                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)

  Jirka Kosek  	                     

To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]