newbie question.. loader parsing error: Blank needed here

994 views
Skip to first unread message

Bill Standke

unread,
Jan 3, 2013, 8:33:04 PM1/3/13
to zorba...@googlegroups.com
<C:\Users\bill.standke\workspace\zorba test\test2.xq>:3,2: dynamic error [err:FODC0002]: loader parsing error: Blank needed here
 

Chris Hillery

unread,
Jan 3, 2013, 8:47:15 PM1/3/13
to zorba...@googlegroups.com
Your query runs fine when I cut and paste it to a file locally (I obviously had to modify the file:/// URI and create my own .xml file for input). The error message is actually an error parsing your .xml file. We should probably improve the error message to make this more clear. I filed https://bugs.launchpad.net/zorba/+bug/1095889 to track this issue.

After a little Googling, it seems like the message "blank needed here" it thrown by libxml2 (our XML parser) when the XML version declaration is broken. For instance, I was able to get that error by putting the following in my input.xml :

<?xml version="1.0">
<hello><bar>foo</bar></hello>

...note the missing question mark at the end of <?xml version="1.0">. There may be other ways to get that error too. If you have xmllint installed, run it on your .xml file and it will point right at the problem.

Ceej
aka Chris Hillery

--
You received this message because you are subscribed to the Google Groups "Zorba Users" group.
To post to this group, send email to zorba...@googlegroups.com.
To unsubscribe from this group, send email to zorba-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/zorba-users/-/L_BH2cl4otoJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Bill Standke

unread,
Jan 3, 2013, 9:36:10 PM1/3/13
to zorba...@googlegroups.com
I looked at my source xml which is generated by an Oracle tool it looks ok to me?
<?xml version="1.0"encoding="UTF-8" standalone="no"?>
<UDML>
<BusinessCatalog>
zorba 2.7.0 using eclipse running on win7

Bill Standke

unread,
Jan 3, 2013, 9:43:14 PM1/3/13
to zorba...@googlegroups.com
I see it now theres a space missing between the "e .  I must have messed it up when I was removing some invalid charaters.
 
Thanks

Chris Hillery

unread,
Jan 3, 2013, 9:47:29 PM1/3/13
to zorba...@googlegroups.com

Yep, was just writing that. :) Hope that gets it working!

Ceej
aka Chris Hillery

To view this discussion on the web visit https://groups.google.com/d/msg/zorba-users/-/7Ui79pj_YOQJ.

Bill Standke

unread,
Jan 3, 2013, 9:48:04 PM1/3/13
to zorba...@googlegroups.com
The confusing part for me was that it appeared that something was wrong with my query not the document i was processing??
 
Thanks
 

On Thursday, January 3, 2013 8:36:10 PM UTC-6, Bill Standke wrote:

Chris Hillery

unread,
Jan 3, 2013, 9:54:47 PM1/3/13
to zorba...@googlegroups.com

Yep, that's why I filed that bug about the message. It could be clearer.

Ceej
aka Chris Hillery

To view this discussion on the web visit https://groups.google.com/d/msg/zorba-users/-/TB0vXJNk3ogJ.
Reply all
Reply to author
Forward
0 new messages