My XQuery is like this:
for $cit in /*:CitedReferenceCIT[@status = 'D']
where contains($cit/@file, "#")
return string-join(base-uri($cit/@file))
When I run this query, I got the error prompt like this:
Error:
Stopped at C:/Users/Administrator/Desktop/XQuery/233Update.xq, 3/28: [XQST0046] URI '/STD_KR_CIT_ZIP/20160927/20070102/20070102-1-001.ZIP/1/KR202007000003512KR00200700003560ACITKO20070102KR00#/KR202007000003512KR00200700003560ACITKO20070102KR00#.XML' is invalid.
It seems related to the '#', but this is what it is in the file path, there is no way to overcome this, Can anyone tell me how to overcome this?