Hi,
I'm using ERRest Framework. I want to understand how the Plural names are being picked up by the Framework.
I've few entities as MediaDocument, MediaImage and MediaSection. I have added them to the handler using addDefaultRoutes(?.ENTITY_NAME) method. I don't know why the response is different in creating the parent tag.
Following are the routes:
/ra/MediaDocument -> MediaDocument /ra/MediaImage -> MediaImage /ra/MediaSection -> MediaSection
For MediaDocument it uses <Documents type="MediaDocument">, for MediaImage it uses <Images type="MediaImage"> and for MediaSection it uses <Media Sections type="MediaSection">.
For MediaSection, it is considered as Malformed XML as the tag name contains space i.e. <Media Sections type="MediaSection">
Am I'm missing some configuration?
Farrukh |