# HG changeset patch # User joehw # Date 1402503963 25200 # Node ID 47b6d4800c6429a2770edcf1b374b10932747809 # Parent 410bccbded9e9cce80f1e13ad221e37ae97a3986 8046443: A few typos in JAXP JavaDoc Reviewed-by: dfuchs, chegar diff -r 410bccbded9e -r 47b6d4800c64 jaxp/src/com/sun/org/apache/xerces/internal/dom/EntityReferenceImpl.java --- a/jaxp/src/com/sun/org/apache/xerces/internal/dom/EntityReferenceImpl.java Wed Jul 05 19:44:08 2017 +0200 +++ b/jaxp/src/com/sun/org/apache/xerces/internal/dom/EntityReferenceImpl.java Wed Jun 11 09:26:03 2014 -0700 @@ -347,7 +347,7 @@ * @see DocumentTypeImpl * @see EntityImpl */ - // The Xerces parser invokes callbacks for startEnityReference + // The Xerces parser invokes callbacks for startEntityReference // the parsed value of the entity EACH TIME, so it is actually // easier to create the nodes through the callbacks rather than // clone the Entity. diff -r 410bccbded9e -r 47b6d4800c64 jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDTDScannerImpl.java --- a/jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDTDScannerImpl.java Wed Jul 05 19:44:08 2017 +0200 +++ b/jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDTDScannerImpl.java Wed Jun 11 09:26:03 2014 -0700 @@ -585,7 +585,7 @@ boolean reportEntity = fReportEntity; if (name.startsWith("%")) { reportEntity = peekReportEntity(); - // check well-formedness of the enity + // check well-formedness of the entity int startMarkUpDepth = popPEStack(); // throw fatalError if this entity was incomplete and // was a freestanding decl diff -r 410bccbded9e -r 47b6d4800c64 jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java --- a/jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java Wed Jul 05 19:44:08 2017 +0200 +++ b/jaxp/src/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java Wed Jun 11 09:26:03 2014 -0700 @@ -2728,7 +2728,7 @@ //if the last section was character data if(fLastSectionWasCharacterData){ - //if we dont encounter any CDATA or ENITY REFERENCE and current state is also not SCANNER_STATE_CHARACTER_DATA + //if we dont encounter any CDATA or ENTITY REFERENCE and current state is also not SCANNER_STATE_CHARACTER_DATA //return the last scanned charactrer data. if((fScannerState != SCANNER_STATE_CDATA) && (fScannerState != SCANNER_STATE_REFERENCE) && (fScannerState != SCANNER_STATE_CHARACTER_DATA)){ diff -r 410bccbded9e -r 47b6d4800c64 jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/XMLDTDValidator.java --- a/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/XMLDTDValidator.java Wed Jul 05 19:44:08 2017 +0200 +++ b/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/XMLDTDValidator.java Wed Jun 11 09:26:03 2014 -0700 @@ -1218,7 +1218,7 @@ // references appear in the document. // REVISIT: this can be combined to a single check in // startEntity if we add one more argument in - // startEnity, inAttrValue + // startEntity, inAttrValue String nonNormalizedValue = attributes.getNonNormalizedValue(i); if (nonNormalizedValue != null) { String entityName = getExternalEntityRefInAttrValue(nonNormalizedValue); diff -r 410bccbded9e -r 47b6d4800c64 jaxp/src/com/sun/org/apache/xml/internal/dtm/DTMConfigurationException.java --- a/jaxp/src/com/sun/org/apache/xml/internal/dtm/DTMConfigurationException.java Wed Jul 05 19:44:08 2017 +0200 +++ b/jaxp/src/com/sun/org/apache/xml/internal/dtm/DTMConfigurationException.java Wed Jun 11 09:26:03 2014 -0700 @@ -32,7 +32,7 @@ /** * Create a new DTMConfigurationException with no - * detail mesage. + * detail message. */ public DTMConfigurationException() { super("Configuration Error"); diff -r 410bccbded9e -r 47b6d4800c64 jaxp/src/com/sun/xml/internal/stream/Entity.java --- a/jaxp/src/com/sun/xml/internal/stream/Entity.java Wed Jul 05 19:44:08 2017 +0200 +++ b/jaxp/src/com/sun/xml/internal/stream/Entity.java Wed Jun 11 09:26:03 2014 -0700 @@ -352,7 +352,7 @@ } /**each 'external' parsed entity may have xml/text declaration containing version information - * @return String version of the enity, for an internal entity version would be null + * @return String version of the entity, for an internal entity version would be null */ public String getEntityVersion(){ return version ; diff -r 410bccbded9e -r 47b6d4800c64 jaxp/src/com/sun/xml/internal/stream/StaxXMLInputSource.java --- a/jaxp/src/com/sun/xml/internal/stream/StaxXMLInputSource.java Wed Jul 05 19:44:08 2017 +0200 +++ b/jaxp/src/com/sun/xml/internal/stream/StaxXMLInputSource.java Wed Jun 11 09:26:03 2014 -0700 @@ -34,7 +34,7 @@ * @author Neeraj * * This class wraps XMLInputSource and is also capable of telling wether application - * returned XMLStreamReader or not when XMLResolver.resolveEnity + * returned XMLStreamReader or not when XMLResolver.resolveEntity * was called. */ public class StaxXMLInputSource { diff -r 410bccbded9e -r 47b6d4800c64 jaxp/src/javax/xml/datatype/DatatypeConfigurationException.java --- a/jaxp/src/javax/xml/datatype/DatatypeConfigurationException.java Wed Jul 05 19:44:08 2017 +0200 +++ b/jaxp/src/javax/xml/datatype/DatatypeConfigurationException.java Wed Jun 11 09:26:03 2014 -0700 @@ -36,7 +36,7 @@ /** *

Create a new DatatypeConfigurationException with - * no specified detail mesage and cause.

+ * no specified detail message and cause.

*/ public DatatypeConfigurationException() { diff -r 410bccbded9e -r 47b6d4800c64 jaxp/src/javax/xml/datatype/DatatypeFactory.java --- a/jaxp/src/javax/xml/datatype/DatatypeFactory.java Wed Jul 05 19:44:08 2017 +0200 +++ b/jaxp/src/javax/xml/datatype/DatatypeFactory.java Wed Jun 11 09:26:03 2014 -0700 @@ -119,7 +119,7 @@ Pattern.compile("[^YM]*[DT].*"); /** - *

Protected constructor to prevent instaniation outside of package.

+ *

Protected constructor to prevent instantiation outside of package.

* *

Use {@link #newInstance()} to create a DatatypeFactory.

*/ diff -r 410bccbded9e -r 47b6d4800c64 jaxp/src/javax/xml/namespace/QName.java --- a/jaxp/src/javax/xml/namespace/QName.java Wed Jul 05 19:44:08 2017 +0200 +++ b/jaxp/src/javax/xml/namespace/QName.java Wed Jun 11 09:26:03 2014 -0700 @@ -83,7 +83,7 @@ * *

To workaround this issue, serialVersionUID is set with either * a default value or a compatibility value. To use the - * compatiblity value, set the system property:

+ * compatibility value, set the system property:

* * com.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0 * diff -r 410bccbded9e -r 47b6d4800c64 jaxp/src/javax/xml/parsers/DocumentBuilderFactory.java --- a/jaxp/src/javax/xml/parsers/DocumentBuilderFactory.java Wed Jul 05 19:44:08 2017 +0200 +++ b/jaxp/src/javax/xml/parsers/DocumentBuilderFactory.java Wed Jun 11 09:26:03 2014 -0700 @@ -423,7 +423,7 @@ *