What does Windows error code 14059 (ERROR_SXS_XML_E_BADPEREFINSUBSET) mean?

 
Previous Next
ERROR_SXS_XML_E_UNEXPECTEDEOF ERROR_SXS_XML_E_UNCLOSEDSTARTTAG

ERROR_SXS_XML_E_BADPEREFINSUBSET

ERROR_SXS_XML_E_BADPEREFINSUBSET (0x000036EB) is a Windows Side-by-Side XML parser status for application, assembly, policy, or configuration manifest processing.

This is a DTD internal-subset grammar error. XML permits parameter entities in DTD processing, but the well-formedness constraint for the internal subset does not allow a parameter-entity reference to appear inside a markup declaration body.

Parser boundary

The XML recommendation states the constraint as “PEs in Internal Subset.” A declaration such as an element or attribute-list declaration cannot be pieced together by placing a %name; reference inside that declaration in the document’s internal subset.

What to inspect

  • Inspect the internal DTD subset between [ and ] for %name; references embedded inside declaration markup.
  • Move reusable DTD material to a form allowed by the XML grammar rather than editing Side-by-Side assembly attributes.
  • Confirm that a manifest-generation step has not copied a general-purpose DTD construct into a Windows manifest unexpectedly.

Use sxstrace to identify the actual manifest first; this code is a parser failure and does not establish that a referenced assembly is missing.

References


Looking for a different code? Search another status or error code.