Re: [xslt] BUG: saxon:line-number() fails for external entities



On Wed, Aug 18, 2004 at 03:40:42PM -0400, Steve Cheng wrote:
> On Wed, Aug 18, 2004 at 03:01:59PM -0400, Daniel Veillard wrote:
> >   that may be fixeable, please register a bug.
> 
> libxml2 bug or libxslt bug?

  libxml2 should be providing the line number, but you need libxslt to
expose it, sounds libxml2 still.

> >   No, to implement XPath semantic, entities are substitued, so
> > there is no entity node place holder to store such an URI, and unless
> > I mess up with the tree content (which I'm not tempted to do) then
> > this is not possible at all with the current code.
> 
> I see. (I guess I'll go back to printing the XPath then for
> diagnostics.)  Thanks anyway,

  yeah, that's annoying :-\

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/


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