# AUTHOR <EMAIL@ADDRESS>, YEAR.
# 
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: Defensive Coding Guide\n"
"POT-Creation-Date: 2013-03-12T03:19:45\n"
"PO-Revision-Date: 2013-03-19 15:29+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: Dutch (http://www.transifex.com/projects/p/fedora/language/nl/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: nl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. Tag: programlisting
#, no-c-format
msgid ""
"\n"
"SchemaFactory factory = SchemaFactory.newInstance(\n"
"        XMLConstants.W3C_XML_SCHEMA_NS_URI);\n"
"\n"
"// This enables restrictions on schema complexity.\n"
"factory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);\n"
"\n"
"// The following line prevents resource resolution\n"
"// by the schema itself.\n"
"factory.setResourceResolver(new NoResourceResolver());\n"
"\n"
"Schema schema = factory.newSchema(schemaFile);\n"
"\n"
"Validator validator = schema.newValidator();\n"
"\n"
"// This prevents external resource resolution.\n"
"validator.setResourceResolver(new NoResourceResolver());\n"
"validator.validate(new DOMSource(document));\n"
msgstr ""
