Unverified50% confidenceFactExact time
lxml may turn <p></p> into <p/>, which causes errors in some readers, so the team ultimately switched to a more tolerant HTML parser to handle the many EPUBs that are not strictly valid XML.
1
Sources
50%
Confidence
Long-term
Relevance
10/17/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedEPUB content files are strict XML rather than lenient HTML; a stray entity or unclosed tag can crash a strict XML parser79% similarUnverified.docx中word/document.xml存储正文内容,word/styles.xml定义样式规则,word/numbering.xml管理列表编号,_rels/目录维护组件间的关系映射64% similarUnverified.docx文件解压后是由数十个XML文件和资源目录构成的复杂包,document.xml存储正文内容,styles.xml定义样式规则64% similarUnverifiedWhen handling XHTML files, because of the default namespace xmlns="http://www.w3.org/1999/xhtml", XPath queries such as //p return empty results, and a namespace mapping must be provided explicitly (for example namespaces={'xhtml': 'http://www.w3.org/1999/xhtml'} and query //xhtml:p).63% similarVerifiedThe .docx format is essentially a ZIP archive based on XML, conforming to the Office Open XML (OOXML) standard.61% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1050483API
curl https://kongchang.com/api/v1/knowledge/claims/1050483MCP
get_claim(id=1050483)