[wp-trac] [WordPress Trac] #61365: Editor: Introduce XML Tag Processor and XML Processor
WordPress Trac
noreply at wordpress.org
Tue Jun 4 09:46:25 UTC 2024
#61365: Editor: Introduce XML Tag Processor and XML Processor
-------------------------+--------------------------------------
Reporter: zieladam | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: HTML API | Version:
Severity: normal | Keywords: has-patch has-unit-tests
Focuses: |
-------------------------+--------------------------------------
This proposes an XML Tag Processor and XML Processor to complement the
[https://core.trac.wordpress.org/ticket/57575 HTML Tag processor] and the
[https://core.trac.wordpress.org/ticket/58517 HTML Processor].
The explorations have started in https://github.com/WordPress/wordpress-
develop/pull/6713.
The XML API implements a subset of the [https://www.w3.org/TR/xml/ XML 1.0
specification] and supports documents with the following characteristics:
* XML 1.0
* Well-formed
* UTF-8 encoded
* Not standalone (so can use external entities)
* No DTD, DOCTYPE, ATTLIST, ENTITY, or conditional sections
The API and ideas closely follow the HTML API implementation. The parser
is streaming in nature, has a minimal memory footprint, and leaves
unmodified markup as it was originally found.
This description is mostly a placeholder for now to reference in GitHub
and source code. It will be fleshed out more in the future.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61365>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list