Reviewer needed for 8022753: SQLXML example typo in the SQLXML javadoc
Hi all, Need a reviewer for the following trivial javadoc typo. Bug is 8022753 Best Lance hg diff SQLXML.java diff -r a4eb59bffb60 src/share/classes/java/sql/SQLXML.java --- a/src/share/classes/java/sql/SQLXML.javaSat Jun 29 06:12:28 2013 -0400 +++ b/src/share/classes/java/sql/SQLXML.javaMon Aug 12 13:59:31 2013 -0400 @@ -98,7 +98,7 @@ * or, to set the result value from SAX events: * pre * SAXResult saxResult = sqlxml.setResult(SAXResult.class); - * ContentHandler contentHandler = saxResult.getXMLReader().getContentHandler(); + * ContentHandler contentHandler = saxResult.getHandler(); * contentHandler.startDocument(); * // set the XML elements and attributes into the result * contentHandler.endDocument(); Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037 Oracle Java Engineering 1 Network Drive Burlington, MA 01803 lance.ander...@oracle.com
Re: Reviewer needed for 8022753: SQLXML example typo in the SQLXML javadoc
On 12/08/2013 19:05, Lance Andersen - Oracle wrote: Hi all, Need a reviewer for the following trivial javadoc typo. Bug is 8022753 Best Lance This looks fine to me. -Alan hg diff SQLXML.java diff -r a4eb59bffb60 src/share/classes/java/sql/SQLXML.java --- a/src/share/classes/java/sql/SQLXML.javaSat Jun 29 06:12:28 2013 -0400 +++ b/src/share/classes/java/sql/SQLXML.javaMon Aug 12 13:59:31 2013 -0400 @@ -98,7 +98,7 @@ * or, to set the result value from SAX events: *pre * SAXResult saxResult = sqlxml.setResult(SAXResult.class); - * ContentHandler contentHandler = saxResult.getXMLReader().getContentHandler(); + * ContentHandler contentHandler = saxResult.getHandler(); * contentHandler.startDocument(); * // set the XML elements and attributes into the result * contentHandler.endDocument(); Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037 Oracle Java Engineering 1 Network Drive Burlington, MA 01803 lance.ander...@oracle.com
Re: Reviewer needed for 8022753: SQLXML example typo in the SQLXML javadoc
Looks fine. Mandy On 8/12/2013 11:05 AM, Lance Andersen - Oracle wrote: Hi all, Need a reviewer for the following trivial javadoc typo. Bug is 8022753 Best Lance hg diff SQLXML.java diff -r a4eb59bffb60 src/share/classes/java/sql/SQLXML.java --- a/src/share/classes/java/sql/SQLXML.javaSat Jun 29 06:12:28 2013 -0400 +++ b/src/share/classes/java/sql/SQLXML.javaMon Aug 12 13:59:31 2013 -0400 @@ -98,7 +98,7 @@ * or, to set the result value from SAX events: * pre * SAXResult saxResult = sqlxml.setResult(SAXResult.class); - * ContentHandler contentHandler = saxResult.getXMLReader().getContentHandler(); + * ContentHandler contentHandler = saxResult.getHandler(); * contentHandler.startDocument(); * // set the XML elements and attributes into the result * contentHandler.endDocument(); Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037 Oracle Java Engineering 1 Network Drive Burlington, MA 01803 lance.ander...@oracle.com