comments (editorial) on GRDDL primer

Dear WG,

Thanks for the conference, so I'm checking for examples GRDDL primer [1]:

#1 - On Linking to a GRDDL Transform paragraph

[[
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Robin's Schedule</title>
  </head>
]]

Should not validate for [[ lang="en" ]] not necessary on XHTML 1.1,
and example not validate (copy and paste) [2]

#2 - Always on GRDDL Transform paragraph (two times)

[[
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head profile="http://www.w3.org/2003/g/data-view">
    <title>Robin's Schedule</title>
]]

I think a "\n" newline is needed between [[ xhtml11.dtd"> ]] and [[ <html ]]
[1] http://www.w3.org/TR/2006/WD-grddl-primer-20061002/ and same as #1 for @lang

#3 - Referencing Via Profile Documents

[[
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html
xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head profile="http://purl.org/NET/erdf/profile">
    <title>Where Am I</title>
]]

Same as #2

#4 - Referencing Via Profile Documents (second example)

[[
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head profile="http://www.w3.org/2003/g/data-view">
    <title>Embedded RDF HTML Profile</title>
    <link rel="transformation" href="http://www.w3.org/2003/g/glean-profile" />
  </head>
]]

There are no <!DOCTYPE...

#5 - General

So, we should use XHTML 1.0 (strict of course) or XHTML 1.1 for examples?

Regards,

Simone

[1] http://www.w3.org/TR/2006/WD-grddl-primer-20061002/
[2] http://validator.w3.org/

Received on Wednesday, 21 February 2007 17:28:23 UTC