
22 Feb
2008
22 Feb
'08
2:37 p.m.
Hi Arndt!
Arndt Jonasson wrote:
In dump-xsd.c, in the function fprintElement, these lines occur:
fprintAnnotationElem( f, smiNode ); if( ! hint ) { fprintTypedef( f, smiType, NULL ); } else { fprintTypeWithHint( f, smiNode, smiType, hint ); }
In the function fprintIndexAttr, we instead find
if( ! hint ) { fprintAnnotationElem( f, smiNode ); fprintTypedef( f, smiType, NULL ); } else { fprintTypeWithHint( f, smiNode, smiType, hint ); }
I think that also in the latter case should fprintAnnotationElem be called before the test. What happens otherwise is that the description of an index element will not be output if the element has a display hint.
Yes, I agree with you. Thanks for pointing this out. I submitted the modified version to the svn repository.
Best regards, Torsten
--
TU Braunschweig, Institut für Betriebssysteme und Rechnerverbund
Mühlenpfordtstr. 23 Phone: +49 531 391 3285
D-38106 Braunschweig, Germany Fax: +49 531 391 5936
http://www.ibr.cs.tu-bs.de/~tklie Email: tklie@ibr.cs.tu-bs.de