XML/XSL: "Semicolon expected" error

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 370
Joined: Tue Nov 12, 2013 2:05 am

XML/XSL: "Semicolon expected" error

Post by peter_b »

[PROBLEM]
As a programmer, one is not surprised if a compiler says "semicolon expected" or "semicolon missing".
But I just had the case where I got the following error message for an XSLT I'm working on:
Error in package file transformation: Could not load package stylesheet file: Semicolon expected
:shock:

Semicolon? XML? Wait! What...?


[SOLUTION]
The culprit was an "HTML Entity" :roll:
If you ever get the error "semicolon expected", first look at all HTML entities you're using - and make sure they are properly terminated with a ";".

Took me 15 minutes to find this - and I'm somewhere between amused and embarrassed ;)
Post Reply