From: Michael Kay <mike@sa...> - 2006-05-17 08:07:46
> Using SAXON within VB.NET the unparsed-entity-uri() function
> in my XSLT returns an empty string. From what I can make out
> this would probably be resolved if I was using a validating parser.
The important thing here is to know which XML parser you are using.
Depending on how Saxon is invoked, this might be either the Microsoft
System.Xml parser, or the AElfred2 parser supplied as part of GNU Classpath.
Off the top of my head, I'm not sure how either of these two parsers handles
the reporting of unparsed entities, but we need to establish which parser it
is before we can do any further investigation.
It wouldn't surprise me if the System.Xml parser reports unparsed entities
only when validating - that would be consistent with its approach for IDs.