Hi Eric, Just FYI, I use attributes named "id" in my JSON files without any (perceived) problem. That pitfall entry in the documentation is old (maybe outdated?) or perhaps someone can shed more light on the specifics of why NOT to include "id" in JSON.
-Mark On Aug 12, 4:31 am, Eric <[email protected]> wrote: > I have a question on identifiers... here: > > http://simile.mit.edu/wiki/Exhibit/Understanding_Exhibit_Database#Ide... > > It mentions that each item has a unique identifier and a label, and > that the label will be automatically assigned as the item's ID if an > ID is not explicitly provided. My question is, how should I > explicitly specify the item's ID? Is that done just by specifying a > property named "id"? Under the "pitfalls" documentation (http:// > simile.mit.edu/wiki/Exhibit/Pitfalls) it mentions not to include an > attribute entitled "id" as it may create phantom elements in the DOM. > Thanks! > > Eric --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
