GNOME Bugzilla – Bug 568208
Undefined entities
Last modified: 2009-08-23 14:00:45 UTC
When xsltproc stumbles on an undefined entity, it prints the following: ../main_hello.sgml:22: parser error : Entity 'compiling' not defined But it should also terminate and set an exit code != 0 so that you can catch the error in an automated build process.
Nope, if the document references an external subset, and I assume you didn't asked it to be loaded (its not libxml2 default behaviour), then it's perfectly fine to have an undefined entity. If there is no external subset or libxml2 did indeed load the external subset if present then this becomes a fatal error. It's all defined by the XML spec ! A priori invalid since you didn't specified how the parser was used. Daniel