25 Oct
2012
25 Oct
'12
11:25 p.m.
Ok, its attached, can't see any issue. Hope you don't mind that I gzipped but there's nearly 300 thousand documents. anyway doesn't seem like that would be possible? I didn't tell basex to ignore errors when importing documents, surely a document where name() on document node returned an empty string would be malformed. Thanks, Bryan Rasmussen On Thu, Oct 25, 2012 at 10:39 PM, Christian Grün <christian.gruen@gmail.com> wrote:
for $doc in db:open('DK') let $name := $doc/*/name() return db:add($name, $doc) where DK is the name of my db.
Maybe one of the returned name strings is empty. Could you send me the result of the following query?
for $name in db:open('DK')/*/name() return element name { $name }