Definitely something is auto replacing quotes, I can confirm pasting worked fine before from a programmer's editor.
Andrew On Thu, Jun 22, 2017, 9:06 AM Mark Payne <[email protected]> wrote: > Andre, > > I've not seen this personally. I just clicked on the link you sent, copied > the schema, > and pasted it in, and it did not have any problems. What application are > you copying > the text from? I've certainly seen that some applications (specifically > Microsoft Outlook > and Office) love to take double-quotes and change them into other > characters so that > they look nicer. But if you then copy that and paste it, it is not pasting > a double-quote but > some other unicode character. > > Would recommend you open the below link in Chrome and copy from there and > see if > that works? > > Thanks > -Mark > > > > > On Jun 22, 2017, at 8:56 AM, Andre <[email protected]> wrote: > > > > All, > > > > I was playing with the AvroSchemaRegistry and noticed it seems to not > play > > ball when the DFM pastes the schema into the dynamic property value. > > > > To test it I basically copied the demo schema from Mark's blog post[1] > and > > pasted into a NiFi 1.3.0 instance. To my surprise the controller would > not > > validate, instead it displayed: > > > > "was expecting double-quote to start field name" > > > > I also faced similar errors using the following schema: > > > > > https://github.com/fluenda/SecuritySchemas/blob/master/CEFRev23/cefRev23_nifi.avsc > > > > Has anyone else seen this? > > > > Cheers > >
