If someone enters for example: "<!-- Inject: 8743.xml -->" then the injection won't be displayed, however it is something that we could be picking up on and reporting an error for. There obviously are some instances where we wouldn't be able to pick up the error but we should be able to pick up most.
Fixed in 1.3-SNAPSHOT build 201311111558 The csprocessor and UI will now check all comment fields for possible invalid injection references. It will check for the following errors: - Missing Colons - Incorrect Capitalisation - Incorrect Injection Types - Using incorrect ids in the id list
This is now live on the test/development server.
Confirmed the following common injection errors are listed by csprocessor in the Compiler Output and by the UI. <!-- Inject: 43.xml --> <!-- Inject 8743 --> <!-- inject: 33 --> <!-- Inject 8743 --> The only suggestion I would have is that characters other than commas in a list of topics are picked up e.g. <!-- InjectList: 33; 34: 35 -->
Fixed in 1.3-SNAPSHOT build 201311251126 I've updated the regex to attempt to include anything that maybe invalid in the topic id list (so missing commas, incorrect separates, etc...).