~ubuntu-branches/ubuntu/natty/libxml++2.6/natty

« back to all changes in this revision

Viewing changes to libxml++/schema.cc

  • Committer: Bazaar Package Importer
  • Author(s): Deng Xiyue, Josselin Mouette, Deng Xiyue
  • Date: 2009-10-25 14:56:53 UTC
  • mfrom: (1.1.15 upstream) (2.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091025145653-1fk5uofteweb3okt
Tags: 2.26.1-1
[ Josselin Mouette ]
* Include clean-la.mk rule.

[ Deng Xiyue ]
* New upstream release.
* Update Standard-Version to 3.8.3.  No changes needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
  xmlSchemaParserCtxtPtr context = xmlSchemaNewDocParserCtxt( document->cobj() );
40
40
  impl_ = xmlSchemaParse( context );
 
41
#ifdef LIBXMLCPP_EXCEPTIONS_ENABLED
41
42
  if ( !impl_ )
42
43
   throw parse_error("Schema could not be parsed");
 
44
#endif
43
45
  impl_->_private = this;
44
46
  embedded_doc_ = embed;
45
47
  xmlSchemaFreeParserCtxt( context );