Vilmos Kozma 10 Years Ago How about making a commented xsd for all types of xmls the portal uses? Installing it into Liferay IDE would serve as superior solution in both validation and reference. At least, for those using IDE... (about 98% of developers) Please sign in to reply. Reply as... Cancel Jim Hinkey Vilmos Kozma 10 Years Ago Vilmos, we do have DTD's listed for some of our XML files. And these DTD's are available in HTML form in the definitions/ directory on docs.liferay.com for each release (e.g., http://docs.liferay.com/portal/6.1/definitions/). And I believe Liferay IDE uses them.Which XML files would you really like to see defined? Thanks for the feedback. Please sign in to reply. Reply as... Cancel
Jim Hinkey Vilmos Kozma 10 Years Ago Vilmos, we do have DTD's listed for some of our XML files. And these DTD's are available in HTML form in the definitions/ directory on docs.liferay.com for each release (e.g., http://docs.liferay.com/portal/6.1/definitions/). And I believe Liferay IDE uses them.Which XML files would you really like to see defined? Thanks for the feedback. Please sign in to reply. Reply as... Cancel
Vilmos Kozma 10 Years Ago Most certainly, I would like to see them all defined, portlet-model-hints.xml as well for example.But don't get me wrong my primary complain is that Liferay does not leverage the power laying in xsd files. Check out the dtd coming for service.xml and try to use its "documentation" from a GUI. You won't be successful. Or, let's assume you are in you favorite IDE and try to determine the possible values for the "type" attribute on the column element. Not possible with dtd. Where is a well structured list? Nowhere. Do I really have to check the source all the time I'm trying to use something not usual? Or, do you find the comment above "column" and "column attrs" well organized? Why it is not well organized? Because it is dtd. You can't do that with dtd.But for what I'am most angry is that you can't say any good reason to stick to dtds. This has nothing to do with DB/OS/App Server/ JVM agnostic issues. It is only because you don't take the time. I guess, many of you (probably in decision position) don't even know the advantages. Please sign in to reply. Reply as... Cancel
Vilmos Kozma 10 Years Ago And just one more hint:Best documentation is available "inline", right where the need comes. This boosts productivity. That is which could be easily delivered with xsd-s. Please sign in to reply. Reply as... Cancel
Vilmos Kozma 10 Years Ago Sorry for that, but one more comment:I guess you are even loosing potential experienced developers how are well avare the differeces between dtd and xsd. They might not choose Liferay because they think that this portal is based on too old technologies. Consider this one too. Please sign in to reply. Reply as... Cancel