Re: [xml] REPOST: xmlTextReader And RelaxNG (was Accurate Line Numbers?)



On Sun, Feb 22, 2004 at 11:17:21AM -0800, Reid Spencer wrote:
The problem has been submitted as bug 135149. It includes a test program
and data to show the problem.

On Sun, 2004-02-22 at 04:31, Daniel Veillard wrote:
On Sat, Feb 21, 2004 at 07:37:05AM -0800, Reid Spencer wrote:
Hi,

Since my last post ( see below ), I have discovered that I don't get
accurate line numbers from xmlTextReaderGetLocator because my entire
document is getting read ahead so that RelaxNG validation can occur. If

  I really don't understand. Got your code, it uses xmlTextReaderGetLocator()
but that function is not defined anywhere in the library nor in the headers.
trying to run your binary executable also lead to a missing symbol too.
paphio:~/XML/tmp/bug_135149 -> make
./lntest XPL.rng OneOfEach.xpl
 Depth Type Line Name/Value
 ./lntest: relocation error: ./lntest: undefined symbol: xmlTextReaderGetLocator
 make: *** [with_bug] Error 127
paphio:~/XML/tmp/bug_135149 -> 

  What library did you link again ? Did you applied patches locally ?
I can't understand what's happening. You indicate in the bug report
compiling against CVS head but clearly this does not compile against 
it. Either I'm very tired or there is something else really weird on
your side...

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.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]