Skip to content

Document Javax.Xml.Parsers APIs - #421

Merged
jonathanpeppers merged 3 commits into
mainfrom
jonathanpeppers-document-java-xml-parser-apis
Aug 14, 2026
Merged

Document Javax.Xml.Parsers APIs#421
jonathanpeppers merged 3 commits into
mainfrom
jonathanpeppers-document-java-xml-parser-apis

Conversation

@jonathanpeppers

@jonathanpeppers jonathanpeppers commented Aug 14, 2026

Copy link
Copy Markdown
Member

Refs #280

Sources

Validation

  • Parsed docs/xml/ns-Javax.Xml.Parsers.xml and all six docs/xml/Javax.Xml.Parsers/*.xml files with PowerShell's XML parser.
  • Confirmed all changed XML files preserve CRLF line endings.
  • Ran git diff --check.
  • Confirmed the scoped placeholder count changed from 82 to 68 and docs/xml/index.xml is unchanged.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR replaces “To be added.” placeholders with XML documentation for the Javax.Xml.Parsers namespace and key parser/builder APIs, aligning docs with Java SE / Android reference material.

Changes:

  • Added a namespace summary for Javax.Xml.Parsers.
  • Filled in parameter/value documentation for factory newInstance(String, ClassLoader) and several parser/builder properties.
  • Added reference links to Android documentation pages for selected members.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs/xml/ns-Javax.Xml.Parsers.xml Adds namespace-level summary describing SAX/DOM usage.
docs/xml/Javax.Xml.Parsers/SAXParserFactory.xml Documents newInstance(String, ClassLoader) parameters.
docs/xml/Javax.Xml.Parsers/SAXParser.xml Adds/updates <value> docs and inserts reference links for some properties (needs corrections in two updated members).
docs/xml/Javax.Xml.Parsers/DocumentBuilderFactory.xml Documents newInstance(String, ClassLoader) parameters.
docs/xml/Javax.Xml.Parsers/DocumentBuilder.xml Adds <value> docs and reference links for key properties (one wording tweak recommended).
Suppressed comments (1)

docs/xml/Javax.Xml.Parsers/SAXParser.xml:1208

  • Parser returns Org.Xml.Sax.IParser, but the <value> text and the reference link currently describe getXMLReader() / IXMLReader. This is misleading and should describe getParser() / IParser instead.
        <summary>Returns the SAX parser that is encapsulated by the
 implementation of this class.</summary>
        <value>The <see cref="T:Org.Xml.Sax.IXMLReader" /> encapsulated by this implementation.</value>
        <remarks>
          <para>

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/xml/Javax.Xml.Parsers/SAXParser.xml Outdated
Comment thread docs/xml/Javax.Xml.Parsers/DocumentBuilder.xml Outdated
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@jonathanpeppers
jonathanpeppers requested review from dalexsoto and removed request for dalexsoto August 14, 2026 08:36
@jonathanpeppers

Copy link
Copy Markdown
Member Author

@dalexsoto review

Resolve overlapping parser documentation using main's authoritative wording while preserving the namespace summary and reviewed JNI metadata documentation.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: e2b31149-4b69-4d90-b91f-af39ae1848b1
@jonathanpeppers
jonathanpeppers requested review from dalexsoto and removed request for dalexsoto August 14, 2026 16:43

@dalexsoto dalexsoto left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SAXParser and namespace documentation matches the Android/Java contracts and renders correctly.

@jonathanpeppers
jonathanpeppers merged commit 9f56e35 into main Aug 14, 2026
3 checks passed
@jonathanpeppers
jonathanpeppers deleted the jonathanpeppers-document-java-xml-parser-apis branch August 14, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants