From: <jp...@us...> - 2008-11-26 13:56:11
|
Revision: 685 http://xqilla.svn.sourceforge.net/xqilla/?rev=685&view=rev Author: jpcs Date: 2008-11-26 13:56:01 +0000 (Wed, 26 Nov 2008) Log Message: ----------- Fixed schema (re)validation so that the ID/IDREF constriants are checked if a document node is seen (fix from Peter Oorthuijsen) Modified Paths: -------------- trunk/xqilla/src/schema/SchemaValidatorFilter.cpp Modified: trunk/xqilla/src/schema/SchemaValidatorFilter.cpp =================================================================== --- trunk/xqilla/src/schema/SchemaValidatorFilter.cpp 2008-11-26 12:42:02 UTC (rev 684) +++ trunk/xqilla/src/schema/SchemaValidatorFilter.cpp 2008-11-26 13:56:01 UTC (rev 685) @@ -131,7 +131,10 @@ void SchemaValidatorFilter::endDocumentEvent() { - if(fValidate) fICHandler->endDocument(); + if(fValidate) { + checkIDRefs(); + fICHandler->endDocument(); + } next_->endDocumentEvent(); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |