RE: [MarkLogic Dev General] Matching ampersand in 4.1

2009-12-07 Thread Baranov, Ivan - Moscow
ssage- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of David Sewell Sent: Friday, December 04, 2009 9:13 PM To: General Mark Logic Developer Discussion Subject: Re: [MarkLogic Dev General] Matching ampersand in 4.1 I also checked this earlier

Re: [MarkLogic Dev General] Matching ampersand in 4.1

2009-12-04 Thread David Sewell
I also checked this earlier today and couldn't reproduce the problem. I always suspect possible whitespace issues when a string equality test doesn't produce expected results. If 'Radiology & Ultrasound' contains any newlines in the data file, or if an apparent ASCII space is something else (nonbr

Re: [MarkLogic Dev General] Matching ampersand in 4.1

2009-12-04 Thread Michael Blakeley
I tried to reproduce this with 4.1-3 (linux x86-64) and didn't see a problem. Here's my test case: xquery version "1.0-ml"; xdmp:document-insert( '/data/store/items/test', Radiology & Ultrasound ) => () xquery version "1.0-ml"; xdmp:directory('/data/store/items/', 'infinity') //it...@ty

RE: [MarkLogic Dev General] Matching ampersand in 4.1

2009-12-04 Thread Baranov, Ivan - Moscow
Original Message- From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Andrew Welch Sent: Friday, December 04, 2009 11:51 AM To: General Mark Logic Developer Discussion Subject: Re: [MarkLogic Dev General] Matching ampersand in 4.1 > I've encoun

Re: [MarkLogic Dev General] Matching ampersand in 4.1

2009-12-04 Thread Andrew Welch
> I’ve encountered a problem while moving from 3.2 to 4.1. It seems like > XQuery dialect 1.0-ml is handling ampersand slightly different from 0.9-ml. > > > > Suppose I have the file: > > > > > >     Radiology & Ultrasound > > > > > > Located in /data/store/items/ > > > > I am writing

[MarkLogic Dev General] Matching ampersand in 4.1

2009-12-04 Thread Baranov, Ivan - Moscow
Hi All, I've encountered a problem while moving from 3.2 to 4.1. It seems like XQuery dialect 1.0-ml is handling ampersand slightly different from 0.9-ml. Suppose I have the file: Radiology & Ultrasound Located in /data/store/items/ I am writing a simple query just to illust