439 * <p>Sets the particular property in the underlying implementation of |
439 * <p>Sets the particular property in the underlying implementation of |
440 * {@link org.xml.sax.XMLReader}. |
440 * {@link org.xml.sax.XMLReader}. |
441 * A list of the core features and properties can be found at |
441 * A list of the core features and properties can be found at |
442 * <a href="http://sax.sourceforge.net/?selected=get-set"> |
442 * <a href="http://sax.sourceforge.net/?selected=get-set"> |
443 * http://sax.sourceforge.net/?selected=get-set</a>.</p> |
443 * http://sax.sourceforge.net/?selected=get-set</a>.</p> |
|
444 * <p> |
|
445 * All implementations that implement JAXP 1.5 or newer are required to |
|
446 * support the {@link javax.xml.XMLConstants#ACCESS_EXTERNAL_DTD} and |
|
447 * {@link javax.xml.XMLConstants#ACCESS_EXTERNAL_SCHEMA} properties. |
|
448 * </p> |
|
449 * <ul> |
|
450 * <li> |
|
451 * <p> |
|
452 * Setting the {@link javax.xml.XMLConstants#ACCESS_EXTERNAL_DTD} property |
|
453 * restricts the access to external DTDs, external Entity References to |
|
454 * the protocols specified by the property. If access is denied during parsing |
|
455 * due to the restriction of this property, {@link org.xml.sax.SAXException} |
|
456 * will be thrown by the parse methods defined by {@link javax.xml.parsers.SAXParser}. |
|
457 * </p> |
|
458 * <p> |
|
459 * Setting the {@link javax.xml.XMLConstants#ACCESS_EXTERNAL_SCHEMA} property |
|
460 * restricts the access to external Schema set by the schemaLocation attribute to |
|
461 * the protocols specified by the property. If access is denied during parsing |
|
462 * due to the restriction of this property, {@link org.xml.sax.SAXException} |
|
463 * will be thrown by the parse methods defined by the {@link javax.xml.parsers.SAXParser}. |
|
464 * </p> |
|
465 * </li> |
|
466 * </ul> |
444 * |
467 * |
445 * @param name The name of the property to be set. |
468 * @param name The name of the property to be set. |
446 * @param value The value of the property to be set. |
469 * @param value The value of the property to be set. |
447 * |
470 * |
448 * @throws SAXNotRecognizedException When the underlying XMLReader does |
471 * @throws SAXNotRecognizedException When the underlying XMLReader does |