Here's a simple XML tree:
<Root> <Test /> <Test2 /> </Root>
If I create a CAM template from this I get something like this:
[…] <as:AssemblyStructure> <as:Structure ID="NewFile" taxonomy="XML" reference=""> <Root> <Test /> <Test2 /> </Root> </as:Structure> </as:AssemblyStructure> […]
Now I change my original XML file to:
<Root> </Root>
If try to validate this XML file against my template I'll get this report:
Error: /Root[1]: Element Missing =>Node: Root Error: /Root[1]: Element Missing =>Node: Root
What I was really expecting was:
Error: /Root[1]: Element Missing =>Node: Test Error: /Root[1]: Element Missing =>Node: Test2
Anonymous
Ticket moved from /p/camprocessor/bugs/862/
Enhance NodeValidartor to provide missing element or attribute full name.
Last edit: Serge Leontiev 2013-12-02
Fixed in CAMV 2.2