This commit is contained in:
Lana Steuck 2017-05-18 16:47:48 +00:00
commit 0cc752f09f
25 changed files with 296 additions and 303 deletions

View File

@ -34,9 +34,9 @@ import jdk.xml.internal.SecuritySupport;
* The CatalogFeatures holds a collection of features and properties. * The CatalogFeatures holds a collection of features and properties.
* <p> * <p>
* *
* <center><h2><a name="CatalogFeatures">Catalog Features</a></h2></center></p>
* *
* <table border="1"> * <table class="plain">
* <caption>Catalog Features</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th rowspan="2">Feature</th> * <th rowspan="2">Feature</th>
@ -44,7 +44,7 @@ import jdk.xml.internal.SecuritySupport;
* <th rowspan="2">Property Name</th> * <th rowspan="2">Property Name</th>
* <th rowspan="2">System Property [1]</th> * <th rowspan="2">System Property [1]</th>
* <th rowspan="2">jaxp.properties [1]</th> * <th rowspan="2">jaxp.properties [1]</th>
* <th colspan="2" align="center">Value [2]</th> * <th colspan="2" style="text-align:center">Value [2]</th>
* <th rowspan="2">Action</th> * <th rowspan="2">Action</th>
* </tr> * </tr>
* <tr> * <tr>
@ -55,7 +55,7 @@ import jdk.xml.internal.SecuritySupport;
* <tbody> * <tbody>
* *
* <tr> * <tr>
* <td><a name="FILES">FILES</a></td> * <td><a id="FILES">FILES</a></td>
* <td>A semicolon-delimited list of URIs to locate the catalog files. * <td>A semicolon-delimited list of URIs to locate the catalog files.
* The URIs must be absolute and have a URL protocol handler for the URI scheme. * The URIs must be absolute and have a URL protocol handler for the URI scheme.
* </td> * </td>
@ -71,7 +71,7 @@ import jdk.xml.internal.SecuritySupport;
* </tr> * </tr>
* *
* <tr> * <tr>
* <td rowspan="2"><a name="PREFER">PREFER</a></td> * <td rowspan="2"><a id="PREFER">PREFER</a></td>
* <td rowspan="2">Indicates the preference between the public and system * <td rowspan="2">Indicates the preference between the public and system
* identifiers. The default value is public [3].</td> * identifiers. The default value is public [3].</td>
* <td rowspan="2">javax.xml.catalog.prefer</td> * <td rowspan="2">javax.xml.catalog.prefer</td>
@ -89,7 +89,7 @@ import jdk.xml.internal.SecuritySupport;
* </tr> * </tr>
* *
* <tr> * <tr>
* <td rowspan="2"><a name="DEFER">DEFER</a></td> * <td rowspan="2"><a id="DEFER">DEFER</a></td>
* <td rowspan="2">Indicates that the alternative catalogs including those * <td rowspan="2">Indicates that the alternative catalogs including those
* specified in delegate entries or nextCatalog are not read until they are * specified in delegate entries or nextCatalog are not read until they are
* needed. The default value is true.</td> * needed. The default value is true.</td>
@ -107,7 +107,7 @@ import jdk.xml.internal.SecuritySupport;
* </tr> * </tr>
* *
* <tr> * <tr>
* <td rowspan="3"><a name="RESOLVE">RESOLVE</a></td> * <td rowspan="3"><a id="RESOLVE">RESOLVE</a></td>
* <td rowspan="3">Determines the action if there is no matching entry found after * <td rowspan="3">Determines the action if there is no matching entry found after
* all of the specified catalogs are exhausted. The default is strict.</td> * all of the specified catalogs are exhausted. The default is strict.</td>
* <td rowspan="3">javax.xml.catalog.resolve [4]</td> * <td rowspan="3">javax.xml.catalog.resolve [4]</td>
@ -241,9 +241,10 @@ import jdk.xml.internal.SecuritySupport;
* supports a resolver. The following table lists all such processes. * supports a resolver. The following table lists all such processes.
* *
* <p> * <p>
* <center><h3><a name="CatalogFeatures">Processes with Catalog Support</a></h3></center></p> * <h3><a id="ProcessesWithCatalogSupport">Processes with Catalog Support</a></h3>
* *
* <table border="1"> * <table class="striped">
* <caption>Processes with Catalog Support</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th>Process</th> * <th>Process</th>

View File

@ -1,8 +1,8 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!DOCTYPE HTML>
<html> <html>
<head> <head>
<!-- <!--
Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it This code is free software; you can redistribute it and/or modify it
@ -26,7 +26,7 @@ or visit www.oracle.com if you need additional information or have any
questions. questions.
--> -->
</head> </head>
<body bgcolor="white"> <body>
Provides the classes for implementing Provides the classes for implementing
<a href="https://www.oasis-open.org/committees/download.php/14809/xml-catalogs.html"> <a href="https://www.oasis-open.org/committees/download.php/14809/xml-catalogs.html">
@ -35,7 +35,7 @@ questions.
<p> <p>
Unless otherwise noted, passing a null argument to Unless otherwise noted, passing a null argument to
a constructor or method in any class or interface in this package will a constructor or method in any class or interface in this package will
cause a <tt>NullPointerException</tt> to be thrown. cause a <code>NullPointerException</code> to be thrown.
</p> </p>
@since 9 @since 9

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -774,15 +774,11 @@ public abstract class DatatypeFactory {
/** /**
* Create an {@code XMLGregorianCalendar} from a {@link GregorianCalendar}. * Create an {@code XMLGregorianCalendar} from a {@link GregorianCalendar}.
* *
* <table border="2" rules="all" cellpadding="2"> * <table class="striped">
* <caption>Field by Field Conversion from
* {@link GregorianCalendar} to an {@link XMLGregorianCalendar}</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th align="center" colspan="2">
* Field by Field Conversion from
* {@link GregorianCalendar} to an {@link XMLGregorianCalendar}
* </th>
* </tr>
* <tr>
* <th>{@code java.util.GregorianCalendar} field</th> * <th>{@code java.util.GregorianCalendar} field</th>
* <th>{@code javax.xml.datatype.XMLGregorianCalendar} field</th> * <th>{@code javax.xml.datatype.XMLGregorianCalendar} field</th>
* </tr> * </tr>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -120,26 +120,22 @@ public abstract class Duration {
* maps to. Type is computed based on fields that are set, * maps to. Type is computed based on fields that are set,
* i.e. {@link #isSet(DatatypeConstants.Field field)} == {@code true}. * i.e. {@link #isSet(DatatypeConstants.Field field)} == {@code true}.
* *
* <table border="2" rules="all" cellpadding="2"> * <table class="striped">
* <caption>Required fields for XML Schema 1.0 Date/Time Datatypes.<br>
* <i>(timezone is optional for all date/time datatypes)</i></caption>
* <thead> * <thead>
* <tr> * <tr>
* <th align="center" colspan="7"> * <th>Datatype</th>
* Required fields for XML Schema 1.0 Date/Time Datatypes.<br> * <th>year</th>
* <i>(timezone is optional for all date/time datatypes)</i> * <th>month</th>
* </th> * <th>day</th>
* <th>hour</th>
* <th>minute</th>
* <th>second</th>
* </tr> * </tr>
* </thead> * </thead>
* <tbody> * <tbody>
* <tr> * <tr>
* <td>Datatype</td>
* <td>year</td>
* <td>month</td>
* <td>day</td>
* <td>hour</td>
* <td>minute</td>
* <td>second</td>
* </tr>
* <tr>
* <td>{@link DatatypeConstants#DURATION}</td> * <td>{@link DatatypeConstants#DURATION}</td>
* <td>X</td> * <td>X</td>
* <td>X</td> * <td>X</td>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -53,25 +53,21 @@ import java.util.GregorianCalendar;
* <a href="http://www.w3.org/TR/xmlschema-2/#isoformats">W3C XML Schema 1.0 Part 2, Appendix D, * <a href="http://www.w3.org/TR/xmlschema-2/#isoformats">W3C XML Schema 1.0 Part 2, Appendix D,
* <i>ISO 8601 Date and Time Formats</i></a>. * <i>ISO 8601 Date and Time Formats</i></a>.
* *
* <a name="datetimefieldmapping"></a> * <a id="datetimefieldmapping"></a>
* <table border="2" rules="all" cellpadding="2"> * <table class="striped">
* <caption>Date/Time Datatype Field Mapping Between XML Schema 1.0 and Java Representation</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th align="center" colspan="3">
* Date/Time Datatype Field Mapping Between XML Schema 1.0 and Java Representation
* </th>
* </tr>
* </thead>
* <tbody>
* <tr>
* <th>XML Schema 1.0<br> * <th>XML Schema 1.0<br>
* datatype<br> * datatype<br>
* field</th> * field</th>
* <th>Related<br>XMLGregorianCalendar<br>Accessor(s)</th> * <th>Related<br>XMLGregorianCalendar<br>Accessor(s)</th>
* <th>Value Range</th> * <th>Value Range</th>
* </tr> * </tr>
* </thead>
* <tbody>
* <tr> * <tr>
* <td><a name="datetimefield-year">year</a></td> * <td><a id="datetimefield-year">year</a></td>
* <td> {@link #getYear()} + {@link #getEon()} or<br> * <td> {@link #getYear()} + {@link #getEon()} or<br>
* {@link #getEonAndYear} * {@link #getEonAndYear}
* </td> * </td>
@ -89,12 +85,12 @@ import java.util.GregorianCalendar;
* </td> * </td>
* </tr> * </tr>
* <tr> * <tr>
* <td><a name="datetimefield-month">month</a></td> * <td><a id="datetimefield-month">month</a></td>
* <td> {@link #getMonth()} </td> * <td> {@link #getMonth()} </td>
* <td> 1 to 12 or {@link DatatypeConstants#FIELD_UNDEFINED} </td> * <td> 1 to 12 or {@link DatatypeConstants#FIELD_UNDEFINED} </td>
* </tr> * </tr>
* <tr> * <tr>
* <td><a name="datetimefield-day">day</a></td> * <td><a id="datetimefield-day">day</a></td>
* <td> {@link #getDay()} </td> * <td> {@link #getDay()} </td>
* <td> Independent of month, max range is 1 to 31 or {@link DatatypeConstants#FIELD_UNDEFINED}.<br> * <td> Independent of month, max range is 1 to 31 or {@link DatatypeConstants#FIELD_UNDEFINED}.<br>
* The normative value constraint stated relative to month * The normative value constraint stated relative to month
@ -102,7 +98,7 @@ import java.util.GregorianCalendar;
* </td> * </td>
* </tr> * </tr>
* <tr> * <tr>
* <td><a name="datetimefield-hour">hour</a></td> * <td><a id="datetimefield-hour">hour</a></td>
* <td>{@link #getHour()}</td> * <td>{@link #getHour()}</td>
* <td> * <td>
* 0 to 23 or {@link DatatypeConstants#FIELD_UNDEFINED}. * 0 to 23 or {@link DatatypeConstants#FIELD_UNDEFINED}.
@ -114,12 +110,12 @@ import java.util.GregorianCalendar;
* </td> * </td>
* </tr> * </tr>
* <tr> * <tr>
* <td><a name="datetimefield-minute">minute</a></td> * <td><a id="datetimefield-minute">minute</a></td>
* <td> {@link #getMinute()} </td> * <td> {@link #getMinute()} </td>
* <td> 0 to 59 or {@link DatatypeConstants#FIELD_UNDEFINED} </td> * <td> 0 to 59 or {@link DatatypeConstants#FIELD_UNDEFINED} </td>
* </tr> * </tr>
* <tr> * <tr>
* <td><a name="datetimefield-second">second</a></td> * <td><a id="datetimefield-second">second</a></td>
* <td> * <td>
* {@link #getSecond()} + {@link #getMillisecond()}/1000 or<br> * {@link #getSecond()} + {@link #getMillisecond()}/1000 or<br>
* {@link #getSecond()} + {@link #getFractionalSecond()} * {@link #getSecond()} + {@link #getFractionalSecond()}
@ -135,7 +131,7 @@ import java.util.GregorianCalendar;
* </td> * </td>
* </tr> * </tr>
* <tr> * <tr>
* <td><a name="datetimefield-timezone">timezone</a></td> * <td><a id="datetimefield-timezone">timezone</a></td>
* <td> {@link #getTimezone()} </td> * <td> {@link #getTimezone()} </td>
* <td> Number of minutes or {@link DatatypeConstants#FIELD_UNDEFINED}. * <td> Number of minutes or {@link DatatypeConstants#FIELD_UNDEFINED}.
* Value range from -14 hours (-14 * 60 minutes) to 14 hours (14 * 60 minutes). * Value range from -14 hours (-14 * 60 minutes) to 14 hours (14 * 60 minutes).
@ -748,26 +744,22 @@ public abstract class XMLGregorianCalendar
* Return the name of the XML Schema date/time type that this instance * Return the name of the XML Schema date/time type that this instance
* maps to. Type is computed based on fields that are set. * maps to. Type is computed based on fields that are set.
* *
* <table border="2" rules="all" cellpadding="2"> * <table class="striped">
* <caption>Required fields for XML Schema 1.0 Date/Time Datatypes.<br>
* <i>(timezone is optional for all date/time datatypes)</i></caption>
* <thead> * <thead>
* <tr> * <tr>
* <th align="center" colspan="7"> * <th>Datatype</th>
* Required fields for XML Schema 1.0 Date/Time Datatypes.<br> * <th>year</th>
* <i>(timezone is optional for all date/time datatypes)</i> * <th>month</th>
* </th> * <th>day</th>
* <th>hour</th>
* <th>minute</th>
* <th>second</th>
* </tr> * </tr>
* </thead> * </thead>
* <tbody> * <tbody>
* <tr> * <tr>
* <td>Datatype</td>
* <td>year</td>
* <td>month</td>
* <td>day</td>
* <td>hour</td>
* <td>minute</td>
* <td>second</td>
* </tr>
* <tr>
* <td>{@link DatatypeConstants#DATETIME}</td> * <td>{@link DatatypeConstants#DATETIME}</td>
* <td>X</td> * <td>X</td>
* <td>X</td> * <td>X</td>
@ -911,21 +903,17 @@ public abstract class XMLGregorianCalendar
* instance, see * instance, see
* {@link #toGregorianCalendar(TimeZone, Locale, XMLGregorianCalendar)}. * {@link #toGregorianCalendar(TimeZone, Locale, XMLGregorianCalendar)}.
* *
* <table border="2" rules="all" cellpadding="2"> * <table class="striped">
* <caption>Field by Field Conversion from this class to
* {@code java.util.GregorianCalendar}</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th align="center" colspan="2"> * <th>{@code java.util.GregorianCalendar} field</th>
* Field by Field Conversion from this class to * <th>{@code javax.xml.datatype.XMLGregorianCalendar} field</th>
* {@code java.util.GregorianCalendar}
* </th>
* </tr> * </tr>
* </thead> * </thead>
* <tbody> * <tbody>
* <tr> * <tr>
* <td>{@code java.util.GregorianCalendar} field</td>
* <td>{@code javax.xml.datatype.XMLGregorianCalendar} field</td>
* </tr>
* <tr>
* <td>{@code ERA}</td> * <td>{@code ERA}</td>
* <td>{@link #getEonAndYear()}{@code .signum() < 0 ? GregorianCalendar.BC : GregorianCalendar.AD}</td> * <td>{@link #getEonAndYear()}{@code .signum() < 0 ? GregorianCalendar.BC : GregorianCalendar.AD}</td>
* </tr> * </tr>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <!doctype html>
<!-- <!--
Copyright (c) 2004, 2005, Oracle and/or its affiliates. All rights reserved. Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it This code is free software; you can redistribute it and/or modify it
@ -24,8 +24,7 @@ or visit www.oracle.com if you need additional information or have any
questions. questions.
--> -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>javax.xml.xpath</title> <title>javax.xml.xpath</title>
@ -50,9 +49,10 @@ questions.
<li><a href="http://www.w3.org/TR/xpath-datamodel#dt-yearMonthDuration">XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration</a></li> <li><a href="http://www.w3.org/TR/xpath-datamodel#dt-yearMonthDuration">XQuery 1.0 and XPath 2.0 Data Model, xdt:yearMonthDuration</a></li>
</ul> </ul>
<hr /> <hr>
<table border="1" cellpadding="2"> <table class="striped">
<caption> W3C XML Schema/Java Type Mappings</caption>
<thead> <thead>
<tr> <tr>
<th>W3C XML Schema Data Type</th> <th>W3C XML Schema Data Type</th>
@ -101,10 +101,11 @@ questions.
</tbody> </tbody>
</table> </table>
<hr /> <hr>
<table border="1" cellpadding="2"> <table class="striped">
<caption>XQuery and XPath/Java Type Mappings</caption>
<thead> <thead>
<tr> <tr>
<th>XQuery 1.0 and XPath 2.0 Data Model</th> <th>XQuery 1.0 and XPath 2.0 Data Model</th>
@ -124,7 +125,7 @@ questions.
</tbody> </tbody>
</table> </table>
<hr /> <hr>
<p> <p>
W3C XML Schema data types that have a "<em>natural</em>" mapping to Java types are defined by W3C XML Schema data types that have a "<em>natural</em>" mapping to Java types are defined by
@ -151,7 +152,7 @@ questions.
<li>xs:unsignedShort</li> <li>xs:unsignedShort</li>
</ul> </ul>
<hr /> <hr>
<ul> <ul>
@ -162,7 +163,7 @@ questions.
<li>Since 1.5</li> <li>Since 1.5</li>
</ul> </ul>
<hr /> <hr>
</body> </body>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -88,17 +88,12 @@ public interface NamespaceContext {
* table describes the returned Namespace URI value for all * table describes the returned Namespace URI value for all
* possible prefix values: * possible prefix values:
* *
* <table border="2" rules="all" cellpadding="4"> * <table class="striped">
* <caption>Return value for specified prefixes</caption>
* <thead> * <thead>
* <tr> * <tr>
* <td align="center" colspan="2"> * <th>prefix parameter</th>
* {@code getNamespaceURI(prefix)} * <th>Namespace URI return value</th>
* return value for specified prefixes
* </td>
* </tr>
* <tr>
* <td>prefix parameter</td>
* <td>Namespace URI return value</td>
* </tr> * </tr>
* </thead> * </thead>
* <tbody> * <tbody>
@ -158,15 +153,10 @@ public interface NamespaceContext {
* table describes the returned prefix value for all Namespace URI * table describes the returned prefix value for all Namespace URI
* values: * values:
* *
* <table border="2" rules="all" cellpadding="4"> * <table class="striped">
* <caption>Return value for specified Namespace URIs</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th align="center" colspan="2">
* {@code getPrefix(namespaceURI)} return value for
* specified Namespace URIs
* </th>
* </tr>
* <tr>
* <th>Namespace URI parameter</th> * <th>Namespace URI parameter</th>
* <th>prefix value returned</th> * <th>prefix value returned</th>
* </tr> * </tr>
@ -230,14 +220,10 @@ public interface NamespaceContext {
* table describes the returned prefixes value for all Namespace * table describes the returned prefixes value for all Namespace
* URI values: * URI values:
* *
* <table border="2" rules="all" cellpadding="4"> * <table class="striped">
* <caption>Return value for specified Namespace URIs</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th align="center" colspan="2">{@code
* getPrefixes(namespaceURI)} return value for
* specified Namespace URIs</th>
* </tr>
* <tr>
* <th>Namespace URI parameter</th> * <th>Namespace URI parameter</th>
* <th>prefixes value returned</th> * <th>prefixes value returned</th>
* </tr> * </tr>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -64,21 +64,17 @@ public interface XMLEventWriter extends XMLEventConsumer {
* Add an event to the output stream * Add an event to the output stream
* Adding a START_ELEMENT will open a new namespace scope that * Adding a START_ELEMENT will open a new namespace scope that
* will be closed when the corresponding END_ELEMENT is written. * will be closed when the corresponding END_ELEMENT is written.
* <table border="2" rules="all" cellpadding="4"> * <table class="striped">
* <caption>Required and optional fields for events added to the writer</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th align="center" colspan="2">
* Required and optional fields for events added to the writer
* </th>
* </tr>
* </thead>
* <tbody>
* <tr>
* <th>Event Type</th> * <th>Event Type</th>
* <th>Required Fields</th> * <th>Required Fields</th>
* <th>Optional Fields</th> * <th>Optional Fields</th>
* <th>Required Behavior</th> * <th>Required Behavior</th>
* </tr> * </tr>
* </thead>
* <tbody>
* <tr> * <tr>
* <td> START_ELEMENT </td> * <td> START_ELEMENT </td>
* <td> QName name </td> * <td> QName name </td>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,22 +36,18 @@ import javax.xml.transform.Source;
* Each property varies in the level of support required by each implementation. * Each property varies in the level of support required by each implementation.
* The level of support required is described in the 'Required' column. * The level of support required is described in the 'Required' column.
* *
* <table border="2" rules="all" cellpadding="4"> * <table class="striped">
* <caption>Configuration Parameters</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th align="center" colspan="5">
* Configuration parameters
* </th>
* </tr>
* </thead>
* <tbody>
* <tr>
* <th>Property Name</th> * <th>Property Name</th>
* <th>Behavior</th> * <th>Behavior</th>
* <th>Return type</th> * <th>Return type</th>
* <th>Default Value</th> * <th>Default Value</th>
* <th>Required</th> * <th>Required</th>
* </tr> * </tr>
* </thead>
* <tbody>
* <tr><td>javax.xml.stream.isValidating</td><td>Turns on/off implementation specific DTD validation</td><td>Boolean</td><td>False</td><td>No</td></tr> * <tr><td>javax.xml.stream.isValidating</td><td>Turns on/off implementation specific DTD validation</td><td>Boolean</td><td>False</td><td>No</td></tr>
* <tr><td>javax.xml.stream.isNamespaceAware</td><td>Turns on/off namespace processing for XML 1.0 support</td><td>Boolean</td><td>True</td><td>True (required) / False (optional)</td></tr> * <tr><td>javax.xml.stream.isNamespaceAware</td><td>Turns on/off namespace processing for XML 1.0 support</td><td>Boolean</td><td>True</td><td>True (required) / False (optional)</td></tr>
* <tr><td>javax.xml.stream.isCoalescing</td><td>Requires the processor to coalesce adjacent character data</td><td>Boolean</td><td>False</td><td>Yes</td></tr> * <tr><td>javax.xml.stream.isCoalescing</td><td>Requires the processor to coalesce adjacent character data</td><td>Boolean</td><td>False</td><td>Yes</td></tr>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2009, 2016, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -36,22 +36,18 @@ import javax.xml.transform.Result;
* Each property varies in the level of support required by each implementation. * Each property varies in the level of support required by each implementation.
* The level of support required is described in the 'Required' column. * The level of support required is described in the 'Required' column.
* *
* <table border="2" rules="all" cellpadding="4"> * <table class="striped">
* <caption>Configuration Parameters</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th align="center" colspan="2">
* Configuration parameters
* </th>
* </tr>
* </thead>
* <tbody>
* <tr>
* <th>Property Name</th> * <th>Property Name</th>
* <th>Behavior</th> * <th>Behavior</th>
* <th>Return type</th> * <th>Return type</th>
* <th>Default Value</th> * <th>Default Value</th>
* <th>Required</th> * <th>Required</th>
* </tr> * </tr>
* </thead>
* <tbody>
* <tr><td>javax.xml.stream.isRepairingNamespaces</td><td>defaults prefixes * <tr><td>javax.xml.stream.isRepairingNamespaces</td><td>defaults prefixes
* on the output side</td><td>Boolean</td><td>False</td><td>Yes</td></tr> * on the output side</td><td>Boolean</td><td>False</td><td>Yes</td></tr>
* </tbody> * </tbody>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -71,19 +71,15 @@ import javax.xml.namespace.QName;
* If a method is called in an invalid state the method will throw a * If a method is called in an invalid state the method will throw a
* java.lang.IllegalStateException. * java.lang.IllegalStateException.
* *
* <table border="2" rules="all" cellpadding="4"> * <table class="striped">
* <caption>Valid methods for each state</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th align="center" colspan="2">
* Valid methods for each state
* </th>
* </tr>
* </thead>
* <tbody>
* <tr>
* <th>Event Type</th> * <th>Event Type</th>
* <th>Valid Methods</th> * <th>Valid Methods</th>
* </tr> * </tr>
* </thead>
* <tbody>
* <tr> * <tr>
* <td> All States </td> * <td> All States </td>
* <td> getProperty(), hasNext(), require(), close(), * <td> getProperty(), hasNext(), require(), close(),

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2009, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -38,12 +38,10 @@ import javax.xml.namespace.NamespaceContext;
* Each NAMESPACE * Each NAMESPACE
* and ATTRIBUTE must be individually written. * and ATTRIBUTE must be individually written.
* *
* <table border="1" cellpadding="2" cellspacing="0"> * <table class="striped">
* <caption>XML Namespaces, {@code javax.xml.stream.isRepairingNamespaces} and write method behaviour</caption>
* <thead> * <thead>
* <tr> * <tr style="border-bottom: 1px solid black">
* <th colspan="5">XML Namespaces, {@code javax.xml.stream.isRepairingNamespaces} and write method behaviour</th>
* </tr>
* <tr>
* <th>Method</th> <!-- method --> * <th>Method</th> <!-- method -->
* <th colspan="2">{@code isRepairingNamespaces} == true</th> * <th colspan="2">{@code isRepairingNamespaces} == true</th>
* <th colspan="2">{@code isRepairingNamespaces} == false</th> * <th colspan="2">{@code isRepairingNamespaces} == false</th>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <!doctype html>
<!-- <!--
Copyright (c) 2000, 2005, Oracle and/or its affiliates. All rights reserved. Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it This code is free software; you can redistribute it and/or modify it
@ -24,11 +24,7 @@ or visit www.oracle.com if you need additional information or have any
questions. questions.
--> -->
<!DOCTYPE html <html>
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>javax.xml.transform</title> <title>javax.xml.transform</title>
@ -97,7 +93,7 @@ if (tfactory.getFeature(DOMSource.FEATURE) &amp;&amp; tfactory.getFeature(Stream
<h3> <h3>
<a name="qname-delimiter">Qualified Name Representation</a> <a id="qname-delimiter">Qualified Name Representation</a>
</h3> </h3>
<p><a href="http://www.w3.org/TR/REC-xml-names">Namespaces</a> <p><a href="http://www.w3.org/TR/REC-xml-names">Namespaces</a>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -58,7 +58,7 @@ import org.xml.sax.SAXParseException;
* may not attempt to recursively invoke the {@code newSchema} method, * may not attempt to recursively invoke the {@code newSchema} method,
* even from the same thread. * even from the same thread.
* *
* <h2><a name="schemaLanguage"></a>Schema Language</h2> * <h2><a id="schemaLanguage"></a>Schema Language</h2>
* <p> * <p>
* This spec uses a namespace URI to designate a schema language. * This spec uses a namespace URI to designate a schema language.
* The following table shows the values defined by this specification. * The following table shows the values defined by this specification.
@ -84,7 +84,8 @@ import org.xml.sax.SAXParseException;
* validation implemented on this interface necessarily deviate from * validation implemented on this interface necessarily deviate from
* the XML DTD semantics as defined in the XML 1.0</em>. * the XML DTD semantics as defined in the XML 1.0</em>.
* *
* <table border="1" cellpadding="2"> * <table class="striped">
* <caption>URIs for Supported Schema languages</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th>value</th> * <th>value</th>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -60,7 +60,7 @@ public abstract class SchemaFactoryLoader {
* the list of available schema languages</a>. * the list of available schema languages</a>.
* *
* @throws NullPointerException * @throws NullPointerException
* If the <tt>schemaLanguage</tt> parameter is null. * If the <code>schemaLanguage</code> parameter is null.
* *
* @return <code>null</code> if the callee fails to create one. * @return <code>null</code> if the callee fails to create one.
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -131,12 +131,10 @@ public abstract class Validator {
* <p>This method places the following restrictions on the types of * <p>This method places the following restrictions on the types of
* the {@link Source}/{@link Result} accepted. * the {@link Source}/{@link Result} accepted.
* *
* <table border=1> * <table class="plain">
* <caption>{@code Source} / {@code Result} Accepted</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th colspan="5">{@code Source} / {@code Result} Accepted</th>
* </tr>
* <tr>
* <th></th> * <th></th>
* <th>{@link javax.xml.transform.stream.StreamSource}</th> * <th>{@link javax.xml.transform.stream.StreamSource}</th>
* <th>{@link javax.xml.transform.sax.SAXSource}</th> * <th>{@link javax.xml.transform.sax.SAXSource}</th>
@ -144,7 +142,7 @@ public abstract class Validator {
* <th>{@link javax.xml.transform.stax.StAXSource}</th> * <th>{@link javax.xml.transform.stax.StAXSource}</th>
* </tr> * </tr>
* </thead> * </thead>
* <tbody align="center"> * <tbody style="text-align:center">
* <tr> * <tr>
* <td>{@code null}</td> * <td>{@code null}</td>
* <td>OK</td> * <td>OK</td>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <!doctype html>
<!-- <!--
Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it This code is free software; you can redistribute it and/or modify it
@ -24,11 +24,7 @@ or visit www.oracle.com if you need additional information or have any
questions. questions.
--> -->
<!DOCTYPE html <html>
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>javax.xml.validation</title> <title>javax.xml.validation</title>
@ -86,7 +82,7 @@ questions.
process simple (see <a href="#example-1">example</a> below).</li> process simple (see <a href="#example-1">example</a> below).</li>
</ul> </ul>
<p> <p>
<a name="example-1"><strong>Usage example</strong>.</a> The following example demonstrates validating <a id="example-1"><strong>Usage example</strong>.</a> The following example demonstrates validating
an XML document with the Validation API (for readability, some exception handling is not shown): an XML document with the Validation API (for readability, some exception handling is not shown):
</p> </p>
<pre> <pre>

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -31,14 +31,18 @@ import org.xml.sax.InputSource;
/** /**
* {@code XPath} provides access to the XPath evaluation environment and expressions. * {@code XPath} provides access to the XPath evaluation environment and expressions.
* The XPath evaluation is affected by the factors described in the following table.
* *
* <a name="XPath-evaluation"></a> * <a id="XPath-evaluation"></a>
* <table border="1" cellpadding="2"> * <table class="striped">
* <caption>Evaluation of XPath Expressions</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th colspan="2">Evaluation of XPath Expressions.</th> * <th>Factor</th>
* <th>Behavior</th>
* </tr> * </tr>
* </thead> * </thead>
* <tbody>
* <tr> * <tr>
* <td>context</td> * <td>context</td>
* <td> * <td>
@ -84,6 +88,7 @@ import org.xml.sax.InputSource;
* Conversion to the return type follows XPath conversion rules. * Conversion to the return type follows XPath conversion rules.
* </td> * </td>
* </tr> * </tr>
* </tbody>
* </table> * </table>
* *
* <p>An XPath object is not thread-safe and not reentrant. * <p>An XPath object is not thread-safe and not reentrant.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,14 +30,18 @@ import org.xml.sax.InputSource;
/** /**
* {@code XPathExpression} provides access to compiled XPath expressions. * {@code XPathExpression} provides access to compiled XPath expressions.
* The XPath evaluation is affected by the factors described in the following table.
* *
* <a name="XPathExpression-evaluation"></a> * <a id="XPathExpression-evaluation"></a>
* <table border="1" cellpadding="2"> * <table class="striped">
* <caption>Evaluation of XPath Expressions</caption>
* <thead> * <thead>
* <tr> * <tr>
* <th colspan="2">Evaluation of XPath Expressions.</th> * <th>Factor</th>
* <th>Behavior</th>
* </tr> * </tr>
* </thead> * </thead>
* <tbody>
* <tr> * <tr>
* <td>context</td> * <td>context</td>
* <td> * <td>

View File

@ -1,8 +1,8 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!doctype html>
<html> <html>
<head> <head>
<!-- <!--
Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it This code is free software; you can redistribute it and/or modify it
@ -26,7 +26,7 @@ or visit www.oracle.com if you need additional information or have any
questions. questions.
--> -->
</head> </head>
<body bgcolor="white"> <body>
This package provides an <em>object-model neutral</em> API for the This package provides an <em>object-model neutral</em> API for the
evaluation of XPath expressions and access to the evaluation evaluation of XPath expressions and access to the evaluation
@ -36,7 +36,7 @@ environment.
The XPath API supports <a href="http://www.w3.org/TR/xpath"> The XPath API supports <a href="http://www.w3.org/TR/xpath">
XML Path Language (XPath) Version 1.0</a> XML Path Language (XPath) Version 1.0</a>
<hr /> <hr>
<ul> <ul>
<li><a href='#XPath.Overview'>1. XPath Overview</a></li> <li><a href='#XPath.Overview'>1. XPath Overview</a></li>
@ -52,7 +52,7 @@ The XPath API supports <a href="http://www.w3.org/TR/xpath">
<li><a href='#XPath.Use'>5. Using the XPath API</a></li> <li><a href='#XPath.Use'>5. Using the XPath API</a></li>
</ul> </ul>
<p> <p>
<a name="XPath.Overview"></a> <a id="XPath.Overview"></a>
<h3>1. XPath Overview</h3> <h3>1. XPath Overview</h3>
<p>The XPath language provides a simple, concise syntax for selecting <p>The XPath language provides a simple, concise syntax for selecting
@ -69,7 +69,7 @@ stand-alone language, as a single XPath expression can be used to
replace many lines of DOM API code. replace many lines of DOM API code.
</p> </p>
<a name="XPath.Expressions"></a> <a id="XPath.Expressions"></a>
<h3>2. XPath Expressions</h3> <h3>2. XPath Expressions</h3>
<p>An XPath <em>expression</em> is composed of a <em>location <p>An XPath <em>expression</em> is composed of a <em>location
@ -139,11 +139,15 @@ attribute nodes, text nodes, comment nodes, and processing instruction
nodes. The following table gives examples of location paths for each nodes. The following table gives examples of location paths for each
of these node types:</p> of these node types:</p>
<table border="1"> <table class="striped">
<caption>Examples of Location Path</caption>
<thead>
<tr> <tr>
<td>Location Path</td> <th>Location Path</th>
<td>Description</td> <th>Description</th>
</tr> </tr>
</thead>
<tbody>
<tr> <tr>
<td> <td>
<code>/foo/bar/<strong>@id</strong></code> <code>/foo/bar/<strong>@id</strong></code>
@ -171,6 +175,7 @@ distinction is made between escaped and non-escaped character data.
<code>&lt;bar&gt;</code> element. <code>&lt;bar&gt;</code> element.
</td> </td>
</tr> </tr>
</tbody>
</table> </table>
<p>Predicates allow for refining the nodes selected by an XPath <p>Predicates allow for refining the nodes selected by an XPath
@ -194,7 +199,7 @@ expression, such as:</p>
</pre> </pre>
</blockquote> </blockquote>
<a name="XPath.Datatypes"></a> <a id="XPath.Datatypes"></a>
<h3>3. XPath Data Types</h3> <h3>3. XPath Data Types</h3>
<p>While XPath expressions select nodes in the XML document, the XPath <p>While XPath expressions select nodes in the XML document, the XPath
@ -207,7 +212,7 @@ following data types:</p>
<li><code>String</code></li> <li><code>String</code></li>
</ul> </ul>
<a name="XPath.Datatypes.QName"></a> <a id="XPath.Datatypes.QName"></a>
<h3>3.1 QName types</h3> <h3>3.1 QName types</h3>
The XPath API defines the following {@link javax.xml.namespace.QName} types to The XPath API defines the following {@link javax.xml.namespace.QName} types to
represent return types of an XPath evaluation: represent return types of an XPath evaluation:
@ -236,7 +241,7 @@ of the child text nodes is returned.
<p>The <code>Number</code> return type attempts to coalesce the text <p>The <code>Number</code> return type attempts to coalesce the text
of a node to a <code>double</code> data type. of a node to a <code>double</code> data type.
<a name="XPath.Datatypes.Class"></a> <a id="XPath.Datatypes.Class"></a>
<h3>3.2 Class types</h3> <h3>3.2 Class types</h3>
In addition to the QName types, the XPath API supports the use of Class types In addition to the QName types, the XPath API supports the use of Class types
through the <code>XPathExpression.evaluteExpression(...)</code> or through the <code>XPathExpression.evaluteExpression(...)</code> or
@ -254,14 +259,14 @@ The XPath data types are mapped to Class types as follows:
<p> <p>
Of the subtypes of Number, only Double, Integer and Long are supported. Of the subtypes of Number, only Double, Integer and Long are supported.
<a name="XPath.Datatypes.Enum"></a> <a id="XPath.Datatypes.Enum"></a>
<h3>3.3 Enum types</h3> <h3>3.3 Enum types</h3>
Enum types are defined in {@link javax.xml.xpath.XPathEvaluationResult.XPathResultType} Enum types are defined in {@link javax.xml.xpath.XPathEvaluationResult.XPathResultType}
that provide mappings between the QName and Class types above. The result of that provide mappings between the QName and Class types above. The result of
evaluating an expression using the <code>XPathExpression.evaluteExpression(...)</code> evaluating an expression using the <code>XPathExpression.evaluteExpression(...)</code>
or <code>XPath.evaluateExpression(...)</code> methods will be of one of these types. or <code>XPath.evaluateExpression(...)</code> methods will be of one of these types.
<a name="XPath.Context"></a> <a id="XPath.Context"></a>
<h3>4. XPath Context</h3> <h3>4. XPath Context</h3>
<p>XPath location paths may be relative to a particular node in the <p>XPath location paths may be relative to a particular node in the
@ -278,7 +283,7 @@ document, known as the <code>context</code>. A context consists of:
It is an XML document tree represented as a hierarchy of nodes, a It is an XML document tree represented as a hierarchy of nodes, a
{@link org.w3c.dom.Node} for example, in the JDK implementation. {@link org.w3c.dom.Node} for example, in the JDK implementation.
<a name="XPath.Use"></a> <a id="XPath.Use"></a>
<h3>5. Using the XPath API</h3> <h3>5. Using the XPath API</h3>
Consider the following XML document: Consider the following XML document:

View File

@ -111,7 +111,9 @@ package org.w3c.dom;
* <p>The following table gives some examples of the relations between the * <p>The following table gives some examples of the relations between the
* attribute value in the original document (parsed attribute), the value as * attribute value in the original document (parsed attribute), the value as
* exposed in the DOM, and the serialization of the value: * exposed in the DOM, and the serialization of the value:
* <table border='1' cellpadding='3'> * <table class="striped">
* <caption>Examples of the Original, Normalized and Serialized Values </caption>
* <thead>
* <tr> * <tr>
* <th>Examples</th> * <th>Examples</th>
* <th>Parsed * <th>Parsed
@ -119,6 +121,8 @@ package org.w3c.dom;
* <th>Initial <code>Attr.value</code></th> * <th>Initial <code>Attr.value</code></th>
* <th>Serialized attribute value</th> * <th>Serialized attribute value</th>
* </tr> * </tr>
* </thead>
* <tbody>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'> * <td valign='top' rowspan='1' colspan='1'>
* Character reference</td> * Character reference</td>
@ -126,7 +130,7 @@ package org.w3c.dom;
* <pre>"x&amp;#178;=5"</pre> * <pre>"x&amp;#178;=5"</pre>
* </td> * </td>
* <td valign='top' rowspan='1' colspan='1'> * <td valign='top' rowspan='1' colspan='1'>
* <pre>"x\u00b2=5"</pre> * <pre>"x&#178;=5"</pre>
* </td> * </td>
* <td valign='top' rowspan='1' colspan='1'> * <td valign='top' rowspan='1' colspan='1'>
* <pre>"x&amp;#178;=5"</pre> * <pre>"x&amp;#178;=5"</pre>
@ -180,6 +184,7 @@ package org.w3c.dom;
* <td valign='top' rowspan='1' colspan='1'><em>Dependent on Implementation and Load Options</em></td> * <td valign='top' rowspan='1' colspan='1'><em>Dependent on Implementation and Load Options</em></td>
* <td valign='top' rowspan='1' colspan='1'><em>Dependent on Implementation and Load/Save Options</em></td> * <td valign='top' rowspan='1' colspan='1'><em>Dependent on Implementation and Load/Save Options</em></td>
* </tr> * </tr>
* </tbody>
* </table> * </table>
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>. * <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
*/ */

View File

@ -353,37 +353,42 @@ public interface Document extends Node {
* instantiate. * instantiate.
* @return A new <code>Element</code> object with the following * @return A new <code>Element</code> object with the following
* attributes: * attributes:
* <table border='1' cellpadding='3'> * <table class="striped">
* <caption>Attributes of the {@code Element} object</caption>
* <thead>
* <tr> * <tr>
* <th>Attribute</th> * <th>Attribute</th>
* <th>Value</th> * <th>Value</th>
* </tr> * </tr>
* </thead>
* <tbody>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>Node.nodeName</code></td> * <td><code>Node.nodeName</code></td>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>qualifiedName</code></td> * <code>qualifiedName</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>Node.namespaceURI</code></td> * <td><code>Node.namespaceURI</code></td>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>namespaceURI</code></td> * <code>namespaceURI</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>Node.prefix</code></td> * <td><code>Node.prefix</code></td>
* <td valign='top' rowspan='1' colspan='1'>prefix, extracted * <td>prefix, extracted
* from <code>qualifiedName</code>, or <code>null</code> if there is * from <code>qualifiedName</code>, or <code>null</code> if there is
* no prefix</td> * no prefix</td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>Node.localName</code></td> * <td><code>Node.localName</code></td>
* <td valign='top' rowspan='1' colspan='1'>local name, extracted from * <td>local name, extracted from
* <code>qualifiedName</code></td> * <code>qualifiedName</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>Element.tagName</code></td> * <td><code>Element.tagName</code></td>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>qualifiedName</code></td> * <code>qualifiedName</code></td>
* </tr> * </tr>
* </tbody>
* </table> * </table>
* @exception DOMException * @exception DOMException
* INVALID_CHARACTER_ERR: Raised if the specified * INVALID_CHARACTER_ERR: Raised if the specified
@ -417,43 +422,48 @@ public interface Document extends Node {
* @param qualifiedName The qualified name of the attribute to * @param qualifiedName The qualified name of the attribute to
* instantiate. * instantiate.
* @return A new <code>Attr</code> object with the following attributes: * @return A new <code>Attr</code> object with the following attributes:
* <table border='1' cellpadding='3'> * <table class="striped">
* <caption>Attributes of the {@code Attr} object </caption>
* <thead>
* <tr> * <tr>
* <th> * <th>
* Attribute</th> * Attribute</th>
* <th>Value</th> * <th>Value</th>
* </tr> * </tr>
* </thead>
* <tbody>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>Node.nodeName</code></td> * <td><code>Node.nodeName</code></td>
* <td valign='top' rowspan='1' colspan='1'>qualifiedName</td> * <td>qualifiedName</td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>Node.namespaceURI</code></td> * <code>Node.namespaceURI</code></td>
* <td valign='top' rowspan='1' colspan='1'><code>namespaceURI</code></td> * <td><code>namespaceURI</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>Node.prefix</code></td> * <code>Node.prefix</code></td>
* <td valign='top' rowspan='1' colspan='1'>prefix, extracted from * <td>prefix, extracted from
* <code>qualifiedName</code>, or <code>null</code> if there is no * <code>qualifiedName</code>, or <code>null</code> if there is no
* prefix</td> * prefix</td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>Node.localName</code></td> * <td><code>Node.localName</code></td>
* <td valign='top' rowspan='1' colspan='1'>local name, extracted from * <td>local name, extracted from
* <code>qualifiedName</code></td> * <code>qualifiedName</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>Attr.name</code></td> * <td><code>Attr.name</code></td>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>qualifiedName</code></td> * <code>qualifiedName</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>Node.nodeValue</code></td> * <td><code>Node.nodeValue</code></td>
* <td valign='top' rowspan='1' colspan='1'>the empty * <td>the empty
* string</td> * string</td>
* </tr> * </tr>
* </tbody>
* </table> * </table>
* @exception DOMException * @exception DOMException
* INVALID_CHARACTER_ERR: Raised if the specified * INVALID_CHARACTER_ERR: Raised if the specified

View File

@ -61,104 +61,109 @@ package org.w3c.dom;
* <p>The values of <code>nodeName</code>, * <p>The values of <code>nodeName</code>,
* <code>nodeValue</code>, and <code>attributes</code> vary according to the * <code>nodeValue</code>, and <code>attributes</code> vary according to the
* node type as follows: * node type as follows:
* <table border='1' cellpadding='3'> * <table class="striped">
* <caption style="display:none">Interface table</caption>
* <thead>
* <tr> * <tr>
* <th>Interface</th> * <th>Interface</th>
* <th>nodeName</th> * <th>nodeName</th>
* <th>nodeValue</th> * <th>nodeValue</th>
* <th>attributes</th> * <th>attributes</th>
* </tr> * </tr>
* </thead>
* <tbody>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>Attr</code></td> * <code>Attr</code></td>
* <td valign='top' rowspan='1' colspan='1'>same as <code>Attr.name</code></td> * <td>same as <code>Attr.name</code></td>
* <td valign='top' rowspan='1' colspan='1'>same as * <td>same as
* <code>Attr.value</code></td> * <code>Attr.value</code></td>
* <td valign='top' rowspan='1' colspan='1'><code>null</code></td> * <td><code>null</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>CDATASection</code></td> * <td><code>CDATASection</code></td>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>"#cdata-section"</code></td> * <code>"#cdata-section"</code></td>
* <td valign='top' rowspan='1' colspan='1'>same as <code>CharacterData.data</code>, the * <td>same as <code>CharacterData.data</code>, the
* content of the CDATA Section</td> * content of the CDATA Section</td>
* <td valign='top' rowspan='1' colspan='1'><code>null</code></td> * <td><code>null</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>Comment</code></td> * <td><code>Comment</code></td>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>"#comment"</code></td> * <code>"#comment"</code></td>
* <td valign='top' rowspan='1' colspan='1'>same as <code>CharacterData.data</code>, the * <td>same as <code>CharacterData.data</code>, the
* content of the comment</td> * content of the comment</td>
* <td valign='top' rowspan='1' colspan='1'><code>null</code></td> * <td><code>null</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>Document</code></td> * <td><code>Document</code></td>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>"#document"</code></td> * <code>"#document"</code></td>
* <td valign='top' rowspan='1' colspan='1'><code>null</code></td> * <td><code>null</code></td>
* <td valign='top' rowspan='1' colspan='1'><code>null</code></td> * <td><code>null</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>DocumentFragment</code></td> * <code>DocumentFragment</code></td>
* <td valign='top' rowspan='1' colspan='1'><code>"#document-fragment"</code></td> * <td><code>"#document-fragment"</code></td>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>null</code></td> * <code>null</code></td>
* <td valign='top' rowspan='1' colspan='1'><code>null</code></td> * <td><code>null</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>DocumentType</code></td> * <td><code>DocumentType</code></td>
* <td valign='top' rowspan='1' colspan='1'>same as * <td>same as
* <code>DocumentType.name</code></td> * <code>DocumentType.name</code></td>
* <td valign='top' rowspan='1' colspan='1'><code>null</code></td> * <td><code>null</code></td>
* <td valign='top' rowspan='1' colspan='1'><code>null</code></td> * <td><code>null</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>Element</code></td> * <code>Element</code></td>
* <td valign='top' rowspan='1' colspan='1'>same as <code>Element.tagName</code></td> * <td>same as <code>Element.tagName</code></td>
* <td valign='top' rowspan='1' colspan='1'><code>null</code></td> * <td><code>null</code></td>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>NamedNodeMap</code></td> * <code>NamedNodeMap</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>Entity</code></td> * <td><code>Entity</code></td>
* <td valign='top' rowspan='1' colspan='1'>entity name</td> * <td>entity name</td>
* <td valign='top' rowspan='1' colspan='1'><code>null</code></td> * <td><code>null</code></td>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>null</code></td> * <code>null</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>EntityReference</code></td> * <td><code>EntityReference</code></td>
* <td valign='top' rowspan='1' colspan='1'>name of entity referenced</td> * <td>name of entity referenced</td>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>null</code></td> * <code>null</code></td>
* <td valign='top' rowspan='1' colspan='1'><code>null</code></td> * <td><code>null</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>Notation</code></td> * <td><code>Notation</code></td>
* <td valign='top' rowspan='1' colspan='1'>notation name</td> * <td>notation name</td>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>null</code></td> * <code>null</code></td>
* <td valign='top' rowspan='1' colspan='1'><code>null</code></td> * <td><code>null</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>ProcessingInstruction</code></td> * <td><code>ProcessingInstruction</code></td>
* <td valign='top' rowspan='1' colspan='1'>same * <td>same
* as <code>ProcessingInstruction.target</code></td> * as <code>ProcessingInstruction.target</code></td>
* <td valign='top' rowspan='1' colspan='1'>same as * <td>same as
* <code>ProcessingInstruction.data</code></td> * <code>ProcessingInstruction.data</code></td>
* <td valign='top' rowspan='1' colspan='1'><code>null</code></td> * <td><code>null</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'><code>Text</code></td> * <td><code>Text</code></td>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* <code>"#text"</code></td> * <code>"#text"</code></td>
* <td valign='top' rowspan='1' colspan='1'>same as <code>CharacterData.data</code>, the content * <td>same as <code>CharacterData.data</code>, the content
* of the text node</td> * of the text node</td>
* <td valign='top' rowspan='1' colspan='1'><code>null</code></td> * <td><code>null</code></td>
* </tr> * </tr>
* </tbody>
* </table> * </table>
* <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>. * <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
*/ */
@ -687,30 +692,35 @@ public interface Node {
* textual content. * textual content.
* <br>The string returned is made of the text content of this node * <br>The string returned is made of the text content of this node
* depending on its type, as defined below: * depending on its type, as defined below:
* <table border='1' cellpadding='3'> * <table class="striped">
* <caption style="display:none">Node/Content table</caption>
* <thead>
* <tr> * <tr>
* <th>Node type</th> * <th>Node type</th>
* <th>Content</th> * <th>Content</th>
* </tr> * </tr>
* </thead>
* <tbody>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* ELEMENT_NODE, ATTRIBUTE_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, * ELEMENT_NODE, ATTRIBUTE_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE,
* DOCUMENT_FRAGMENT_NODE</td> * DOCUMENT_FRAGMENT_NODE</td>
* <td valign='top' rowspan='1' colspan='1'>concatenation of the <code>textContent</code> * <td>concatenation of the <code>textContent</code>
* attribute value of every child node, excluding COMMENT_NODE and * attribute value of every child node, excluding COMMENT_NODE and
* PROCESSING_INSTRUCTION_NODE nodes. This is the empty string if the * PROCESSING_INSTRUCTION_NODE nodes. This is the empty string if the
* node has no children.</td> * node has no children.</td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'>TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE, * <td>TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE,
* PROCESSING_INSTRUCTION_NODE</td> * PROCESSING_INSTRUCTION_NODE</td>
* <td valign='top' rowspan='1' colspan='1'><code>nodeValue</code></td> * <td><code>nodeValue</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'>DOCUMENT_NODE, * <td>DOCUMENT_NODE,
* DOCUMENT_TYPE_NODE, NOTATION_NODE</td> * DOCUMENT_TYPE_NODE, NOTATION_NODE</td>
* <td valign='top' rowspan='1' colspan='1'><em>null</em></td> * <td><em>null</em></td>
* </tr> * </tr>
* </tbody>
* </table> * </table>
* @exception DOMException * @exception DOMException
* DOMSTRING_SIZE_ERR: Raised when it would return more characters than * DOMSTRING_SIZE_ERR: Raised when it would return more characters than
@ -737,30 +747,35 @@ public interface Node {
* textual content. * textual content.
* <br>The string returned is made of the text content of this node * <br>The string returned is made of the text content of this node
* depending on its type, as defined below: * depending on its type, as defined below:
* <table border='1' cellpadding='3'> * <table class="striped">
* <caption style="display:none">Node/Content table</caption>
* <thead>
* <tr> * <tr>
* <th>Node type</th> * <th>Node type</th>
* <th>Content</th> * <th>Content</th>
* </tr> * </tr>
* </thead>
* <tbody>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'> * <td>
* ELEMENT_NODE, ATTRIBUTE_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, * ELEMENT_NODE, ATTRIBUTE_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE,
* DOCUMENT_FRAGMENT_NODE</td> * DOCUMENT_FRAGMENT_NODE</td>
* <td valign='top' rowspan='1' colspan='1'>concatenation of the <code>textContent</code> * <td>concatenation of the <code>textContent</code>
* attribute value of every child node, excluding COMMENT_NODE and * attribute value of every child node, excluding COMMENT_NODE and
* PROCESSING_INSTRUCTION_NODE nodes. This is the empty string if the * PROCESSING_INSTRUCTION_NODE nodes. This is the empty string if the
* node has no children.</td> * node has no children.</td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'>TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE, * <td>TEXT_NODE, CDATA_SECTION_NODE, COMMENT_NODE,
* PROCESSING_INSTRUCTION_NODE</td> * PROCESSING_INSTRUCTION_NODE</td>
* <td valign='top' rowspan='1' colspan='1'><code>nodeValue</code></td> * <td><code>nodeValue</code></td>
* </tr> * </tr>
* <tr> * <tr>
* <td valign='top' rowspan='1' colspan='1'>DOCUMENT_NODE, * <td>DOCUMENT_NODE,
* DOCUMENT_TYPE_NODE, NOTATION_NODE</td> * DOCUMENT_TYPE_NODE, NOTATION_NODE</td>
* <td valign='top' rowspan='1' colspan='1'><em>null</em></td> * <td><em>null</em></td>
* </tr> * </tr>
* </tbody>
* </table> * </table>
* @exception DOMException * @exception DOMException
* NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly. * NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.

View File

@ -2,7 +2,7 @@
<head> <head>
<title>W3C IPR SOFTWARE NOTICE</title> <title>W3C IPR SOFTWARE NOTICE</title>
</head> </head>
<body bgcolor="white"> <body>
<p> <p>
Document Object Model Level 2 Traversal and Range is a Document Object Model Level 2 Traversal and Range is a
platform and language-neutral interfaces that allow programs platform and language-neutral interfaces that allow programs
@ -20,14 +20,14 @@
<h1> <h1>
W3C IPR SOFTWARE NOTICE W3C IPR SOFTWARE NOTICE
</h1> </h1>
<h3> <h2>
Copyright &copy; 2000 <a href="http://www.w3.org/">World Wide Web Copyright &copy; 2000 <a href="http://www.w3.org/">World Wide Web
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
National de Recherche en Informatique et en Automatique</a>, <a National de Recherche en Informatique et en Automatique</a>, <a
href="http://www.keio.ac.jp/">Keio University</a>). All Rights href="http://www.keio.ac.jp/">Keio University</a>). All Rights
Reserved. Reserved.
</h3> </h2>
<p> <p>
The DOM bindings are published under the W3C Software Copyright Notice The DOM bindings are published under the W3C Software Copyright Notice
and License. The software license requires "Notice of any changes or and License. The software license requires "Notice of any changes or
@ -42,14 +42,14 @@
and License could be found at <a and License could be found at <a
href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>http://www.w3.org/Consortium/Legal/copyright-software-19980720</a> href='http://www.w3.org/Consortium/Legal/copyright-software-19980720'>http://www.w3.org/Consortium/Legal/copyright-software-19980720</a>
</p> </p>
<h3> <h2>
Copyright &copy; 1994-2000 <a href="http://www.w3.org/">World Wide Web Copyright &copy; 1994-2000 <a href="http://www.w3.org/">World Wide Web
Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts Consortium</a>, (<a href="http://www.lcs.mit.edu/">Massachusetts
Institute of Technology</a>, <a href="http://www.inria.fr/">Institut Institute of Technology</a>, <a href="http://www.inria.fr/">Institut
National de Recherche en Informatique et en Automatique</a>, <a National de Recherche en Informatique et en Automatique</a>, <a
href="http://www.keio.ac.jp/">Keio University</a>). All Rights href="http://www.keio.ac.jp/">Keio University</a>). All Rights
Reserved. http://www.w3.org/Consortium/Legal/ Reserved. http://www.w3.org/Consortium/Legal/
</h3> </h2>
<p> <p>
This W3C work (including software, documents, or other related items) is This W3C work (including software, documents, or other related items) is
being provided by the copyright holders under the following license. By being provided by the copyright holders under the following license. By

View File

@ -24,14 +24,18 @@ Currently defined standard feature URIs have the prefix
<em>setFeature</em>. Those standard identifiers are: </p> <em>setFeature</em>. Those standard identifiers are: </p>
<table border="1" cellpadding="3" cellspacing="0" width="100%"> <table class="striped">
<tr align="center" bgcolor="#ccccff"> <caption>SAX2 Standard Features </caption>
<thead>
<tr>
<th>Feature ID</th> <th>Feature ID</th>
<th>Access</th> <th>Access</th>
<th>Default</th> <th>Default</th>
<th>Description</th> <th>Description</th>
</tr> </tr>
</thead>
<tbody>
<tr> <tr>
<td>external-general-entities</td> <td>external-general-entities</td>
<td><em>read/write</em></td> <td><em>read/write</em></td>
@ -208,7 +212,7 @@ Currently defined standard feature URIs have the prefix
Returns "false" if the parser supports only XML 1.0. Returns "false" if the parser supports only XML 1.0.
</td> </td>
</tr> </tr>
</tbody>
</table> </table>
<p> Support for the default values of the <p> Support for the default values of the
@ -236,11 +240,15 @@ the standard property URIs have the prefix
<code>dom-node</code>. Manage those properties using <code>dom-node</code>. Manage those properties using
<em>setProperty()</em>. Those identifiers are: </p> <em>setProperty()</em>. Those identifiers are: </p>
<table border="1" cellpadding="3" cellspacing="0" width="100%"> <table class="striped">
<tr align="center" bgcolor="#ccccff"> <caption>SAX2 Standard Properties </caption>
<thead>
<tr>
<th>Property ID</th> <th>Property ID</th>
<th>Description</th> <th>Description</th>
</tr> </tr>
</thead>
<tbody>
<tr> <tr>
<td>declaration-handler</td> <td>declaration-handler</td>
@ -287,7 +295,7 @@ the standard property URIs have the prefix
<td> Readable only during a parser callback, this exposes a <b>TBS</b> <td> Readable only during a parser callback, this exposes a <b>TBS</b>
chunk of characters responsible for the current event. </td> chunk of characters responsible for the current event. </td>
</tr> </tr>
</tbody>
</table> </table>
<p> All of these standard properties are optional; <p> All of these standard properties are optional;