--- old/src/com/sun/org/apache/xerces/internal/dom/EntityReferenceImpl.java Tue Jun 10 19:53:43 2014 +++ new/src/com/sun/org/apache/xerces/internal/dom/EntityReferenceImpl.java Tue Jun 10 19:53:43 2014 @@ -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. --- old/src/com/sun/org/apache/xerces/internal/impl/XMLDTDScannerImpl.java Tue Jun 10 19:53:44 2014 +++ new/src/com/sun/org/apache/xerces/internal/impl/XMLDTDScannerImpl.java Tue Jun 10 19:53:43 2014 @@ -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 --- old/src/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java Tue Jun 10 19:53:45 2014 +++ new/src/com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl.java Tue Jun 10 19:53:44 2014 @@ -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)){ --- old/src/com/sun/org/apache/xerces/internal/impl/dtd/XMLDTDValidator.java Tue Jun 10 19:53:46 2014 +++ new/src/com/sun/org/apache/xerces/internal/impl/dtd/XMLDTDValidator.java Tue Jun 10 19:53:45 2014 @@ -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); --- old/src/com/sun/org/apache/xml/internal/dtm/DTMConfigurationException.java Tue Jun 10 19:53:48 2014 +++ new/src/com/sun/org/apache/xml/internal/dtm/DTMConfigurationException.java Tue Jun 10 19:53:48 2014 @@ -32,7 +32,7 @@ /** * Create a new DTMConfigurationException with no - * detail mesage. + * detail message. */ public DTMConfigurationException() { super("Configuration Error"); --- old/src/com/sun/xml/internal/stream/Entity.java Tue Jun 10 19:53:49 2014 +++ new/src/com/sun/xml/internal/stream/Entity.java Tue Jun 10 19:53:49 2014 @@ -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 ; --- old/src/com/sun/xml/internal/stream/StaxXMLInputSource.java Tue Jun 10 19:53:50 2014 +++ new/src/com/sun/xml/internal/stream/StaxXMLInputSource.java Tue Jun 10 19:53:50 2014 @@ -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 { --- old/src/javax/xml/datatype/DatatypeConfigurationException.java Tue Jun 10 19:53:51 2014 +++ new/src/javax/xml/datatype/DatatypeConfigurationException.java Tue Jun 10 19:53:51 2014 @@ -36,7 +36,7 @@ /** *

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

+ * no specified detail message and cause.

*/ public DatatypeConfigurationException() { --- old/src/javax/xml/datatype/DatatypeFactory.java Tue Jun 10 19:53:52 2014 +++ new/src/javax/xml/datatype/DatatypeFactory.java Tue Jun 10 19:53:52 2014 @@ -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.

*/ --- old/src/javax/xml/namespace/QName.java Tue Jun 10 19:53:53 2014 +++ new/src/javax/xml/namespace/QName.java Tue Jun 10 19:53:53 2014 @@ -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 * --- old/src/javax/xml/parsers/DocumentBuilderFactory.java Tue Jun 10 19:53:54 2014 +++ new/src/javax/xml/parsers/DocumentBuilderFactory.java Tue Jun 10 19:53:54 2014 @@ -423,7 +423,7 @@ *