You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Elliotte Rusty Harold (Jira)" <xe...@xml.apache.org> on 2025/10/20 12:13:00 UTC
[jira] [Commented] (XERCESJ-1704) XML Parsing slow when many attributes are declared for each element in DTD
[ https://issues.apache.org/jira/browse/XERCESJ-1704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18031134#comment-18031134 ]
Elliotte Rusty Harold commented on XERCESJ-1704:
------------------------------------------------
Reproducible measurements are helpful for resolving performance issues. method inlining isnot always helpful and can be harmful. Ditto lazy initialization
> XML Parsing slow when many attributes are declared for each element in DTD
> --------------------------------------------------------------------------
>
> Key: XERCESJ-1704
> URL: https://issues.apache.org/jira/browse/XERCESJ-1704
> Project: Xerces2-J
> Issue Type: Improvement
> Components: DTD
> Affects Versions: 2.12.0
> Reporter: Cristian Talau
> Priority: Minor
> Attachments: file.xml, perf.dtd
>
>
> If there are ~1000 attributes declared in the DTD for each XML element parsing an XML document is very slow.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org