[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [xmile] schema status, examples, etc
Hi Will,I've started to validate XML examples in the doc using the validator you suggested. I am not able to validate any apparently valid XML with this tool. Attached is a screen shot of a very trivial tag that won't validate. I am traveling and don't have access to anything else. Any suggestions? Thanks.GaryFrom: Will Glass-Husain <wglass@forio.com>
To: xmile <xmile@lists.oasis-open.org>
Sent: Monday, June 23, 2014 3:11 PM
Subject: [xmile] schema status, examples, etc
Hey everyone,Greetings from London. I am tinkering with the XML schema so I can bring it up to date with the Word doc before our meeting next week. I am discovering small errors in the schema as I go. (the latest was the <include> tags wouldn't validate).I am creating a set of sample models focusing on particular features (e.g. headers, or macros, or includes). They are in the directory "examples". Please feel free to add more. When you do so, validate the model against the latest schema. I use Eclipse, but you can also use an online validator such as http://www.freeformatter.com/xml-validator-xsd.htmlI could also use help proofreading the schema to be sure I didn't miss stuff in the Word doc. As an example, I discovered today some attributes for <use_conveyor> and <use_queue> were missing. Perhaps we should just create more examples based on the Word doc and see which ones fail to validate.At some point soon I will set up an automatic script to validate models in this directory against the schema every time a svn commit to the models or the schema is made. The script will email the list if there's a validation error in the newly checked in example. Is that ok with everyone?Finally, please note when writing examples to check whether a CDATA structure is needed for large blocks of text. The macro examples didn't validate due to missing CDATAs. This is incorrect (due to the <value> in the body).<format>LOG(<value>, <base>)</format>Instead do this:<format>
<![CDATA[LOG(<value>, <base>)]]>
</format>best,WILL--
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]