[MarkLogic Dev General] bug? cts:highlight and phrase-through
jhunter at marklogic.com
Fri Nov 3 12:00:19 PST 2006
> <results warning="more than one node">
> As an aside and this has always bothered my about Mark Logic - where is
> it getting the "oxref:" namespace prefix from? It was used in the xml
> file I loaded, but it's not defined in the query anywhere. Does it
> persist in the document? I would've thought you'd keep only namespaces,
> not the prefixes as well.
I expect there's an xmlns:oxref declaration in the response, but your
browser isn't showing it. Browsers are weird that way when doing XML
views. You're using CQ, so ask it to give a Text view of the results
and I think then you'll see the xmlns:oxref="..." decl.
If an element is in a namespace, MarkLogic of course remembers that and
tries to retain prefixes to the extent possible when outputting the element.
More information about the General