After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 568208 - Undefined entities
Undefined entities
Status: RESOLVED INVALID
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-18 19:33 UTC by Björn Lindqvist
Modified: 2009-08-23 14:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Björn Lindqvist 2009-01-18 19:33:02 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.
Comment 1 Daniel Veillard 2009-08-23 14:00:45 UTC
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