Great, looking forward to having another go this weekend.
On a side-note, I'm writing a Java based application to perform verification on GuideMe scripts, checking against a XML schema, detecting unreachable pages, links to missing pages, etc. I'm developing it more as an excuse to get back into Java which I haven't programmed for years. I hope you don't mind , but since your script it nice and big (and doesn't include set, unset, or Javascript), I'm using it as an initial test subject. On v1.02, it showed up the following:
Code: Select all
GuideMeAnalyser
Input file: Z:\GuideMe\temp\Bokki-Tease-Club-Omega.xml
JAXB: javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException; systemId: file:/Z:/GuideMe/temp/Bokki-Tease-Club-Omega.xml; lineNumber: 55168; columnNumber: 3; The element type "Title" must be terminated by the matching end-tag "</Title>".]
Code: Select all
<Title>Bokki Tease Club Ω <Title/>
Code: Select all
<Title>Bokki Tease Club Ω </Title>
When I tweak that and run my analyser again, it finds this:
Code: Select all
GuideMeAnalyser
Input file: Z:\GuideMe\temp\Bokki-Tease-Club-Omega.xml
XML Validation Successful
Performing check: MissingStartPage
Performing check: DuplicatePageNames
Performing check: BadButtonLinks
BadButtonLinks: Page'franstart':Button'New Tease'->Page'thewormhole1'; Page'thewormhole1' not found
BadButtonLinks: Page'franstart':Button'Options'->Page'franoptions'; Page'franoptions' not found
BadButtonLinks: Page'code3':Button'1'->Page'code31'; Page'code31' not found
BadButtonLinks: Page'code3':Button'4'->Page'code34'; Page'code34' not found
BadButtonLinks: Page'code43':Button'Submit'->Page'cxia4'; Page'cxia4' not found
BadButtonLinks: Page'code44':Button'Submit'->Page'bhailey1'; Page'bhailey1' not found
BadButtonLinks: Page'code7':Button'6'->Page'code76'; Page'code76' not found
BadButtonLinks: Page'code89':Button'Submit'->Page'manuela1'; Page'manuela1' not found
BadButtonLinks: Page'code9':Button'9'->Page'code99'; Page'code99' not found
BadButtonLinks: Page'badcode':Button'9'->Page'code19'; Page'code19' not found
BadButtonLinks: Page'rewurm5':Button'Continue'->Page'thewormhole38'; Page'thewormhole38' not found
BadButtonLinks: Page'cmondaygood35':Button'Tuesday'->Page'btuesday1'; Page'btuesday1' not found
Performing check: UnreachablePages
UnreachablePages: Page'ultistart'; Page cannot be reached
UnreachablePages: Page'notes'; Page cannot be reached
UnreachablePages: Page'code89'; Page cannot be reached
UnreachablePages: Page'introb18'; Page cannot be reached
UnreachablePages: Page'ffran1'; Page cannot be reached
UnreachablePages: Page'ffran12'; Page cannot be reached
UnreachablePages: Page'ffran13'; Page cannot be reached
UnreachablePages: Page'page273'; Page cannot be reached
UnreachablePages: Page'monday2'; Page cannot be reached
UnreachablePages: Page'cmonday8'; Page cannot be reached
UnreachablePages: Page'cmonday11'; Page cannot be reached
UnreachablePages: Page'cmonday12'; Page cannot be reached
UnreachablePages: Page'rewurm4'; Page cannot be reached
UnreachablePages: Page'thewormhole59'; Page cannot be reached
UnreachablePages: Page'page125'; Page cannot be reached
UnreachablePages: Page'wedspurecb48'; Page cannot be reached
UnreachablePages: Page'credits4'; Page cannot be reached
UnreachablePages: Page'cmondaygood7'; Page cannot be reached
UnreachablePages: Page'cmondaygood11'; Page cannot be reached
UnreachablePages: Page'cmondaygood12'; Page cannot be reached
UnreachablePages: Page'mondayxiaq'; Page cannot be reached
UnreachablePages: Page'mondayhaileyq'; Page cannot be reached
I haven't verified all of these yet, so it might be a fault of my analyser, in which case I sincerely apologise and please ignore me!
And please please please don't think I'm being critical! I absolutely love your work and just want to help if I can. With scripts like yours that are so enormous it must be nearly impossible to check these these things manually without going completely insane.