Re: [tw] [tw5] Illegal characters error in field

2014-04-28 Thread Stephan Hradek


Am Sonntag, 27. April 2014 15:56:26 UTC+2 schrieb Jeremy Ruston:


 The spec doesn't allow digits in HTML attribute names, but in practice it 
 seems that most browsers are quite happy with them.


Which specs are you referring to?

For HTML5 I found:

Attributes have a name and a value. Attribute names must consist of one or 
 more characters other than the space 
 charactershttp://www.w3.org/TR/html5/infrastructure.html#space-character, 
 U+ NULL, U+0022 QUOTATION MARK (), U+0027 APOSTROPHE ('),  
 (U+003E), / (U+002F), and = (U+003D) characters, the control 
 charactershttp://www.w3.org/TR/html5/infrastructure.html#control-characters,
  
 and any characters that are not defined by Unicode. In the HTML syntax, 
 attribute names, even those for foreign 
 elementshttp://www.w3.org/TR/html5/syntax.html#foreign-elements, 
 may be written with any mix of lower- and uppercase letters that are an ASCII 
 case-insensitivehttp://www.w3.org/TR/html5/infrastructure.html#ascii-case-insensitivematch
  for the attribute's name.


http://www.w3.org/TR/html5/syntax.html#attributes-0 

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [tw5] Illegal characters error in field

2014-04-28 Thread Jeremy Ruston
Hi Stephan

You're right, I misread the spec. I'll update the restrictions to allow
digits; I still don't think we should be as liberal as HTML attributes.

Best wishes

Jeremy



On Mon, Apr 28, 2014 at 7:48 AM, Stephan Hradek stephan.hra...@gmail.comwrote:



 Am Sonntag, 27. April 2014 15:56:26 UTC+2 schrieb Jeremy Ruston:


 The spec doesn't allow digits in HTML attribute names, but in practice it
 seems that most browsers are quite happy with them.


 Which specs are you referring to?

 For HTML5 I found:

 Attributes have a name and a value. Attribute names must consist of one
 or more characters other than the space 
 charactershttp://www.w3.org/TR/html5/infrastructure.html#space-character,
 U+ NULL, U+0022 QUOTATION MARK (), U+0027 APOSTROPHE ('), 
 (U+003E), / (U+002F), and = (U+003D) characters, the control
 charactershttp://www.w3.org/TR/html5/infrastructure.html#control-characters,
 and any characters that are not defined by Unicode. In the HTML syntax,
 attribute names, even those for foreign 
 elementshttp://www.w3.org/TR/html5/syntax.html#foreign-elements,
 may be written with any mix of lower- and uppercase letters that are an ASCII
 case-insensitivehttp://www.w3.org/TR/html5/infrastructure.html#ascii-case-insensitivematch
  for the attribute's name.


 http://www.w3.org/TR/html5/syntax.html#attributes-0




-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [tw5] Illegal characters error in field

2014-04-28 Thread Julio Peña
Hello Jeremy,

Sorry for the late reply...many thanks.
I'll make due in the meantimeno worries.


Best wishes

Julio

On Monday, April 28, 2014 4:31:37 AM UTC-4, Jeremy Ruston wrote:

 Hi Stephan

 You're right, I misread the spec. I'll update the restrictions to allow 
 digits; I still don't think we should be as liberal as HTML attributes.

 Best wishes

 Jeremy



 On Mon, Apr 28, 2014 at 7:48 AM, Stephan Hradek 
 stephan...@gmail.comjavascript:
  wrote:



 Am Sonntag, 27. April 2014 15:56:26 UTC+2 schrieb Jeremy Ruston:


 The spec doesn't allow digits in HTML attribute names, but in practice 
 it seems that most browsers are quite happy with them.


 Which specs are you referring to?

 For HTML5 I found:

 Attributes have a name and a value. Attribute names must consist of one 
 or more characters other than the space 
 charactershttp://www.w3.org/TR/html5/infrastructure.html#space-character, 
 U+ NULL, U+0022 QUOTATION MARK (), U+0027 APOSTROPHE ('),  
 (U+003E), / (U+002F), and = (U+003D) characters, the control 
 charactershttp://www.w3.org/TR/html5/infrastructure.html#control-characters,
  
 and any characters that are not defined by Unicode. In the HTML syntax, 
 attribute names, even those for foreign 
 elementshttp://www.w3.org/TR/html5/syntax.html#foreign-elements, 
 may be written with any mix of lower- and uppercase letters that are an 
 ASCII 
 case-insensitivehttp://www.w3.org/TR/html5/infrastructure.html#ascii-case-insensitivematch
  for the attribute's name.


 http://www.w3.org/TR/html5/syntax.html#attributes-0 




 -- 
 Jeremy Ruston
 mailto:jeremy...@gmail.com javascript:
  

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


[tw] [tw5] Illegal characters error in field

2014-04-27 Thread Julio Peña
Hello Jeremy and all,

I upgraded my off-line Tiddlywiki to the latest version and so far so good.

However I get this:

Illegal characters in field name source-1. Fields can only contain 
 lowercase letters and the characters underscore (_), hyphen (-) and period 
 (.)


when I type in the field *source-1 *[without quotes]*.*  Is that supposed 
to happen?
It worked fine in earlier versions.

I tried it in both Chrome and Firefox.


Best regards,

Julio

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [tw5] Illegal characters error in field

2014-04-27 Thread Jeremy Ruston
Hi Julio

The restrictions on legal field names were introduced in 5.0.9:

http://tiddlywiki.com/static/Release%25205.0.9-beta.html

The issue has been discussed before here:

https://groups.google.com/d/topic/tiddlywiki/wCsx-Uy2ahQ/discussion

Given that this issue is tripping people up, we could relax the
restrictions to include digits. The spec doesn't allow digits in HTML
attribute names, but in practice it seems that most browsers are quite
happy with them.

Best wishes

Jeremy.



On Sun, Apr 27, 2014 at 2:44 PM, Julio Peña jpe...@gmail.com wrote:

 Hello Jeremy and all,

 I upgraded my off-line Tiddlywiki to the latest version and so far so good.

 However I get this:

 Illegal characters in field name source-1. Fields can only contain
 lowercase letters and the characters underscore (_), hyphen (-) and period
 (.)


 when I type in the field *source-1 *[without quotes]*.*  Is that
 supposed to happen?
 It worked fine in earlier versions.

 I tried it in both Chrome and Firefox.


 Best regards,

 Julio

 --
 You received this message because you are subscribed to the Google Groups
 TiddlyWiki group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to tiddlywiki+unsubscr...@googlegroups.com.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/d/optout.




-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.