Copy link to clipboard
Copied
Hi All,
I'm wondering how FM supports XML Schemas. I need to validate the uniqnuess of the value of an element in my XML. Let's say I have an XML like this one:
<Param>
<name>Parameter 1 name</name>
<description>Parameter 1 description</description>
<code>12345</code>
</Param>
<Param>
<name>Parameter 2 name</name>
<description>Parameter 2 description</description>
<code>6789</code>
</Param>
The value of <code> must be unique throughout the XML file. As far as I know, I can add a validation of the uniqnuess of <code> into my XML schema. The question is whether this uniqnuess check will be supported by FM.
Any advice is appreciated.
Thank you very much!
Copy link to clipboard
Copied
It should (though I have not tested it myself). Framemaker 11 uses XercesC 2.7 for parsing the incoming/outgoing XML and it supports unique constrains. EDD cannot check the possible violation, however.
BR, Martti
Copy link to clipboard
Copied
Hi Marti,
Thank you! I'll check it out.