Problem with xsl files



Hi all,

When running the attached xsl file through the indexer (or through
beagle-extact-content) it stays in an infinite loop:

[mahes]/home/steve: beagle-extract-content ldp-html-common.xsl
Filename: file:///home/steve/ldp-html-common.xsl
Debug: Loaded 43 filters from /usr/local/lib/beagle/Filters/Filters.dll
Filter: Beagle.Filters.FilterXslt
MimeType: text/x-xslt

Warn: FilterXslt: error parsing xml file: System.Xml.XmlException: 'doc' is undeclared namespace.  Line 71, position 74.
in [0x0030b] (at /tmp/scratch/BUILD/mono-1.1.13.4/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1344) System.Xml.XmlTextReader:ReadStartTag () in [0x0013f] (at /tmp/scratch/BUILD/mono-1.1.13.4/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1214) System.Xml.XmlTextReader:ReadContent () in [0x00113] (at /tmp/scratch/BUILD/mono-1.1.13.4/mcs/class/System.XML/System.Xml/XmlTextReader.cs:590) System.Xml.XmlTextReader:Read ()
in [0x000cf] (at /home/steve/tmp/beagle.20060329185810/Filters/FilterXslt.cs:79) Beagle.Filters.FilterXslt:DoPull ()
Warn: FilterXslt: error parsing xml file: System.Xml.XmlException: Text node cannot appear in this state. Line 1, position 1.
in [0x00193] System.Xml.XmlTextReader:ReadText (Boolean notWhitespace)
in [0x00185] (at /tmp/scratch/BUILD/mono-1.1.13.4/mcs/class/System.XML/System.Xml/XmlTextReader.cs:1231) System.Xml.XmlTextReader:ReadContent () in [0x00113] (at /tmp/scratch/BUILD/mono-1.1.13.4/mcs/class/System.XML/System.Xml/XmlTextReader.cs:590) System.Xml.XmlTextReader:Read ()
...
...
...

Beagle is the CVS version from March 29th. Even when the filter does not
know how to handle undeclared namespaces, it shouldn't end up in an
infinite loop.

Kind regards,
   Stephan.

Attachment: ldp-html-common.xsl.gz
Description: application/gunzip



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]