Doc incomplete() does not indicate constraint violation

Answered by: John Dreystadt (PTC) Last Updated: 2006-09-22

=N.N. reports=

doc_incomplete(current_doc, 1);

... only returns 1 if an element/attribute is missing, or the structure is wrong, but not with a constraint violation like this:



John Dreystadt (PTC) confirms that this is a bug (or a documentation error).