Filling in add-on license details (for a plugin).

Hi, I am trying to fill in the content of the 'xt:license' tag in the 'add-on' xml file, using oXygen Editor 14.2 in text mode, but am getting the following error as soon as I try to add an element: E [Xerces] cvc-type.3.1.2: Element 'xt:license' is a simple type, so it must have no element information item [children]. I thought we could add simple html markup in the license section; possibly I have misunderstood - or have not configured oXygen properly. Any suggestions would be appreciated, Anthony. PS: Ideally I would like to xi:include this information as it is reasonably large and likely to be common to several plugin/versions. -- -- ------------------------------------------------------------------------- Michael Anthony Smith, DeltaXML Ltd "Michael Anthony Smith, DeltaXML Ltd "Experts in Information Change"" T: +44 1684 869035 E: anthony.smith@deltaxml.com http://www.deltaxml.com Registered in England 02528681 Reg. Office: Monsell House, WR8 0QN, UK

Hi, Actually html markup is only supported in the 'description' element. We thought that an EULA is usually text based so we declared it as plain text. I'll add a feature request to permit HTML elements inside the license element too. Until then if you want to reuse the license just create a template that uses a license marker like this: <xt:license><![CDATA[@@LICENSE@@]]></xt:license> Then from the ANT script (I think you are already using ANT from previous discussions) replace the marker with the actual license: <loadfile property="eula" srcFile="alg/eula/${eulaFileName}"/> <replace file="${extDescriptor}" token="@@LICENSE@@" value="${eula}"/> and you'll obtain the final add-on descriptor. Best regards, Alex -- Alex Jitianu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 07-Mar-13 6:03 PM, Michael Anthony Smith wrote:
Hi,
I am trying to fill in the content of the 'xt:license' tag in the 'add-on' xml file, using oXygen Editor 14.2 in text mode, but am getting the following error as soon as I try to add an element:
E [Xerces] cvc-type.3.1.2: Element 'xt:license' is a simple type, so it must have no element information item [children].
I thought we could add simple html markup in the license section; possibly I have misunderstood - or have not configured oXygen properly.
Any suggestions would be appreciated, Anthony.
PS: Ideally I would like to xi:include this information as it is reasonably large and likely to be common to several plugin/versions. -- -- ------------------------------------------------------------------------- Michael Anthony Smith, DeltaXML Ltd "Michael Anthony Smith, DeltaXML Ltd "Experts in Information Change"" T: +44 1684 869035 E: anthony.smith@deltaxml.com <mailto:anthony.smith@deltaxml.com> http://www.deltaxml.com <http://www.deltaxml.com/> Registered in England 02528681 Reg. Office: Monsell House, WR8 0QN, UK
_______________________________________________ oXygen-sdk mailing list oXygen-sdk@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk
participants (2)
-
Alex Jitianu
-
Michael Anthony Smith