Fedora Account System
Red Hat Associate
Red Hat Customer
If you have something like: Product = &NON_EXISTANT; Copyright Holder = &NON_EXISTANT; then builds will fail when trying to build with publican/jdocbook. This should be caught by the content spec validator when saving.
Fixed in 1.6-SNAPSHOT build 201405221722 The following metadata is now checked for invalid entities and will produce an error when one is found (since these are the only ones that can make use of it in the output): Title Product Subtitle Abstract Version Copyright Holder Copyright Year Edition Pubsnumber
Actually this should also check for invalid XML, as it probably won't fail the build but it will output unexpected results.
Fixed in 1.6-SNAPSHOT build 201405222004 The following elements are now fully validated to catch any invalid XML, which also includes entities: Title Product Subtitle Copyright Holder Abstract (this was already done, so the logic was reused for the other elements) Also note that the following were excluded since they are limited to certain regex values and therefore can't be invalid: Copyright Year Version Edition Pubsnumber
Confirmed that missing entities assigned to Title, Product, Subtitle, Copyright Holder and Abstract generate the appropriate errors. Also tried to assign entities to Copyright Year, Version, Edition and Pubsnumber and got appropriate errors.