Thanks all, I got it, its &
/Ricky On Fri, May 9, 2008 at 9:38 AM, Erick Erickson <[EMAIL PROTECTED]> wrote: > I don't see a semi-colon at the end of your entity reference, is that a > typo? > i.e. & > > > On Fri, May 9, 2008 at 9:26 AM, Ricky <[EMAIL PROTECTED]> wrote: > > > I have tried sending the '&' instead of '&' like the following, > > <field name ="company">A & K Inc</field>. > > > > But i still get the same error ""entity reference name can not contain > > character ' <position: START_TAG seen ...<fieldname = "company">A & > .. > > > > Please kindly reply ASAP. > > > > > > Thanks, > > Ricky > > > > On Fri, May 9, 2008 at 3:48 AM, Shalin Shekhar Mangar < > > [EMAIL PROTECTED]> wrote: > > > > > You need to XML encode special characters. Use & instead of &. > > > > > > On Fri, May 9, 2008 at 12:07 PM, Ricky Martin < > [EMAIL PROTECTED] > > > > > > wrote: > > > > > > > Hello, > > > > > > > > I have a field name <field name ="company">A & K Inc</field>, which i > > > > cannot > > > > parse using XML to POST data to solr. When i search using A & K, i > > should > > > > be > > > > getting the exactly this field name. > > > > > > > > Please someone help me with this ASAP. > > > > > > > > Thanks, > > > > Ricky. > > > > > > > > > > > > > > > > -- > > > Regards, > > > Shalin Shekhar Mangar. > > > > > >