Nastvanej programator

Nejvetsi sracka v livecycle je komponenta XSL transformace. To muselo programovat fakt hovado. Na jednom serveru se zacala objevovat hlaska:

[Fatal Error] :1:1: Content is not allowed in prolog.

To prakticky v 90% pripadu znamena, ze po editace XML v notepadu se na zacatek souboru pridaly M$ sracky indikace UTF8. Ale tentokrat to tim nebylo.

Ruznymi upravami zdrojaku transformace se hlaska zmenila na

An exception was thrown with name org.xml.sax.SAXParseException message:Premature end of file.

utekla dalsi hodina. No, nakonec se ukazalo, ze chyba byla tady:

<xsl:template match="xxx

a xxx neexistovalo ve vstupnim souboru.

Tak super. Kdo tohle zna, chape, jak mi je.

Jedna odpověď k “Nastvanej programator”

  1. Lenka říká:

    Já tě zcela chápu Járo :-) )))))

Napsat komentář

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Změnit )

Twitter picture

You are commenting using your Twitter account. Log Out / Změnit )

Facebook photo

You are commenting using your Facebook account. Log Out / Změnit )

Connecting to %s


Follow

Get every new post delivered to your Inbox.