I am trying to work through the development tutorial.
When I reached the step about adding comments:
http://localhost/doc/tutorial-comments.html
I noticed rather odd behaviour... If I edit the file:
/var/www/dlrn/packages/myfirstpackage/www/note-edit.adp
it breaks. In that clicking on "add a note" the page is blank.
So, after no small amount of angst I eventually copied note-edit.adp note-edit.adp-broke and copied a fresh version to the www directory and sure enough it worked just fine.
I eventually diffed the two:
dlrn@goliath /var/www/dlrn/packages/myfirstpackage/www $ diff note-edit.adp note-edit.adp-broke
6d5
formtemplate id="note"/formtemplate
\ No newline at end of file
and I said, "what"?!
so I cat'd the original file, and sure enough:
dlrn@goliath /var/www/dlrn/packages/myfirstpackage/www $ cat note-edit.adp
master>
property name="title">@page_title;noquote@property>
property name="context">@context;noquote@property>
property name="focus">note.titleproperty>
formtemplate id="note">formtemplate>dlrn@goliath /var/www/dlrn/packages/myfirstpackage/www $
There is an extra line...? Is this some kind of emacs / vi
thing? I have never seen this before?
## Leading "<" removed to facilitate posting ##