Found at: "admin/settings/xmlsitemap/additional"

line 193 column 66 - Error: character "/" is not allowed in the value of attribute "id"
line 196 column 75 - Error: character "/" is not allowed in the value of attribute "id"
line 200 column 66 - Error: character "/" is not allowed in the value of attribute "id"
line 203 column 75 - Error: character "/" is not allowed in the value of attribute "id"
line 207 column 67 - Error: character "/" is not allowed in the value of attribute "id"
line 210 column 76 - Error: character "/" is not allowed in the value of attribute "id"
 <tr valign="top" class="even"><td><div class="form-item">
 <input type="checkbox" name="delete[node/1]" id="edit-delete-node/1" value="1"   class="form-checkbox" />
</div>
</td><td><a href="/drupal5/node/1">node/1</a></td><td><div class="form-item">
 <select name="priority[node/1]" class="form-select" id="edit-priority-node/1" ><option value="NULL" selected="selected">Standard</option><option value="1">1.0</option><option value="0.9">0.9</option><option value="0.8">0.8</option><option value="0.7">0.7</option><option value="0.6">0.6</option><option value="0.5">0.5</option><option value="0.4">0.4</option><option value="0.3">0.3</option><option value="0.2">0.2</option><option value="0.1">0.1</option><option value="0">0.0</option></select>

</div>
</td> </tr>
 <tr valign="top" class="odd"><td><div class="form-item">
 <input type="checkbox" name="delete[node/8]" id="edit-delete-node/8" value="1"   class="form-checkbox" />
</div>
</td><td><a href="/drupal5/de/beispiele/subtemplates">node/8</a></td><td><div class="form-item">
 <select name="priority[node/8]" class="form-select" id="edit-priority-node/8" ><option value="NULL" selected="selected">Standard</option><option value="1">1.0</option><option value="0.9">0.9</option><option value="0.8">0.8</option><option value="0.7">0.7</option><option value="0.6">0.6</option><option value="0.5">0.5</option><option value="0.4">0.4</option><option value="0.3">0.3</option><option value="0.2">0.2</option><option value="0.1">0.1</option><option value="0">0.0</option></select>

</div>
</td> </tr>
 <tr valign="top" class="even"><td><div class="form-item">
 <input type="checkbox" name="delete[node/16]" id="edit-delete-node/16" value="1"   class="form-checkbox" />
</div>
</td><td><a href="/drupal5/de/tutorials/drupal-bugs">node/16</a></td><td><div class="form-item">
 <select name="priority[node/16]" class="form-select" id="edit-priority-node/16" ><option value="NULL" selected="selected">Standard</option><option value="1">1.0</option><option value="0.9">0.9</option><option value="0.8">0.8</option><option value="0.7">0.7</option><option value="0.6">0.6</option><option value="0.5">0.5</option><option value="0.4">0.4</option><option value="0.3">0.3</option><option value="0.2">0.2</option><option value="0.1">0.1</option><option value="0">0.0</option></select>

</div>

Comments

darren oh’s picture

Status: Active » Postponed (maintainer needs more info)

Where does this error message come from?

hass’s picture

Status: Postponed (maintainer needs more info) » Active

On page "admin/settings/xmlsitemap/additional" with SGML parser (http://users.skynet.be/mgueury/mozilla/)

Such ID's seems not valid: id="edit-delete-node/8".

darren oh’s picture

Status: Active » Closed (won't fix)

I can't think of a way to prevent this that can't conflict with real paths, and no one has suggested one.

hass’s picture

Status: Closed (won't fix) » Active

Darren: i don't know why you add "/" to an ID field, but it is for sure invalid. There must be a way to solve this. Why does an ID conflict with real paths!? I cannot follow what an HTML ID value have to do with paths...

darren oh’s picture

Who is going to fix this?

darren oh’s picture

Status: Active » Closed (won't fix)

Apparently no one.

Hass, I am not rejecting a fix, I am just not going to work on this. The problem is that all the legal id characters are also legal path characters, and on this page the path is the id. You can look at the code if you don't understand what I mean. Replacing the / with ., -, _, :, alphabetic character, or numeric character would make it impossible to distinguish from a path that actually used those characters. You are welcome to make this issue active if you assign it to yourself.

hass’s picture

Assigned: Unassigned »
Status: Closed (won't fix) » Active

Ok, i will try to fix this.

PS: You should work with the bug tracker system and not against... :-). The sense of issue tracker is not to close cases if you don't like them - it's to document bugs until they are fixed, and this is a bug that should be fixed. If you don't like to fix it keep this cases active and maybe someone else pick it up for a fix. This prevent duplicates...

darren oh’s picture

Title: character "/" is not allowed in the value of attribute "id" » Escape paths used as ID attributes
Status: Active » Fixed

Fixed in CVS commit 91886.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.