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. &amp;
>
>
> On Fri, May 9, 2008 at 9:26 AM, Ricky <[EMAIL PROTECTED]> wrote:
>
> > I have tried sending the '&amp' instead of '&' like the following,
> > <field name ="company">A &amp K Inc</field>.
> >
> > But i still get the same error ""entity reference name can not contain
> > character  ' <position: START_TAG seen ...<fieldname = "company">A &amp
> ..
> >
> > 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 &amp; 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.
> > >
> >
>

Reply via email to