Hi there,
I need some details of the data types XMLPFs-XSD is providing. Especially the numeric ones.
- What does the length element mean by an integer? The maximum digits one can enter? The database column length is it not (it has a column size of 19 in Postgres, although I set length to 5).
- The float datatype will result in an double in Java code and service.xml. I set the length to 5. Is this a bug?
- A double datatype does not exist in the XSD. Should I then use numeric? No, see following points.
- When I use numeric it will result in a long in service.xml. Seems like a bug, because long has no decimals, but with numeric I can define some.
- What makes a numeric datatype different from the other (integer, float)?
- A type of enum will result in boolean (service.xml and database table). Seems like a bug, because my enum has value ('A', 'B'...).
- How can I use base64 encoded values? I think, this is not supported by XMLPF.
- I think, the difference between text and richtext is only the view presentation, right?
- What is a document library? Something Liferay specific?
Thank you,
Martin.