ietf
[Top] [All Lists]

Re: XML related issues in metalink, was: Last Call: draft-bryan-metalink (The Metalink Download Description Format) to Proposed Standard

2009-12-13 14:46:47
Anthony Bryan wrote:
3) XML vs whitespace

I'm not sure I understand the whitespace treatment.

One example has:

   <url location="de" priority="1">
      ftp://ftp.example.com/example.ext
   </url>

while the prose says in Section 3: "Note that there MUST NOT be any white
space in a Date construct or in any IRI."

I personally would prefer that whitespace is NOT ignorable, but in any case
this should be stated somewhere more clearly.

Very helpful, your sentence was added:

"All leading and trailing whitespace is part of the element content,
and MUST be ignored. Consequently, it is disallowed for elements where
the defined type does not allow whitespace, such as dates, integers,
or IRIs."

Um, that should be "MUST NOT be ignored", right?

> ...

BR, Julian
_______________________________________________
Ietf mailing list
Ietf(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf