#283 xhtml 1.1 template not respected while creating new file

open-fixed
None
5
2007-04-30
2006-11-29
No

Screem version: 0.17.1 + cvs
System: Mac OS X 10.4.8

Preferences which may be important vs. the problem:
Syntax highlighting on
Error highlighting on
Highlight current line on
Wrap lines on
Tabs 4 characters wide
Right margin at column 80
Inline tagging on
Intelligent tag closing on
Auto complete from tag trees
Auto entity insertion by character set

Site created with screem locally for an Apache served web site whose configuration has been changed to allow xhtml 1.1.

Problem:
When creating a file from a saved xhtml template file:

1 - The / encountered at the end of the first tag is dropped in the created file
e.g:
<meta name="generator" content="screem 0.17.1" /> in the template file
becomes:
<meta name="generator" content="screem 0.17.1"> in the created file

2 - The / encountered at the end of the second tag is replaced by an >
e.g.:
<meta name="author" content="Michèle Garoche" /> in the template file
becomes:
<meta name="author" content="Michèle Garoche">> in the created file

3 - Two additional fields are added in the created file though they do not exist in the template file (this is less important), namely:
<meta name="description" content="" />
<meta name="keywords" content="" />

Besides the first one is added at the end of the line of the previous tag, the second one is indented and a new line is created probably with a tab also, thus making the lines over each other.

Attached are the files to give an idea.

Discussion

  • Anonymous - 2006-11-29

    xhtml 1.1 Template file

     
  • Anonymous - 2006-11-29

    File created from template

     
  • David A Knight

    David A Knight - 2007-04-30

    Logged In: YES
    user_id=736
    Originator: NO

    1 - xhtml status was wrongly ignored when changing an existing meta

    2 - utf8 issue

    3 - not a bug, screem intentionally auto adds these.

    This is fixed in my development code, will commit shortly.

     
  • David A Knight

    David A Knight - 2007-04-30
    • assigned_to: nobody --> davek
    • status: open --> open-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks