RE: PIDF - using xml schema

"Adrian Bateman" <[email protected]>
Newsgroups gmane.ietf.impp
Organization VisionTech Limited
Message-ID <002d01c1e7b8$96ad8f00$6405010a@ADRIANXP>
I've just finished reading draft-hollenbeck-ietf-xml-guidelines-00.txt
and have the following observations for consideration:

* draft-ietf-impp-cpim-pidf-02.txt:Section 3.1

I think we should change this to REQUIRE an XML declaration. We should
mandate the use of UTF-8 and recommend that the encoding attribute
SHOULD be used to explicitly note the use of UTF-8.

We should also require that documents MUST be well-formed.


* draft-ietf-impp-cpim-pidf-02.txt:Section 4.1.7

I think we should mandate the use of the xml:lang attribute for the
<note> element. Should it be possible to have more than one <note>
element for different languages?


* draft-ietf-impp-cpim-pidf-02.txt:Section 4.4

Rather than the DTD, we should use an XML schema and insist that PIDF
documents MUST be valid according to the schema.

On 19 April 2002 08:41, Graham Klyne wrote:
> I'm not familiar enough with XML schema to check this in detail, but I
> think it would be a good idea to include an XML schema as an appendix.
Any 
> examples in the document should be validated against this schema.

I had a quick look - at first glance the only thing that flagged up was
using xs:dateTime for the timestamp. I'm not sure how this compares to
the IMPP datetime format that we mandate.

Regards,

Adrian.




  [reminder: [email protected] for non-technical discussions, please]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.