[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RDDL draft 20010114
I just went through an interesting little test of the draft. I tried to validate it using rxp. I copied the draft to my computer, and then the dtd. That didn't work - of course - since the dtd's address is relative, and rxp couldn't find all the included fragments. Then I added the rddl base url to the path in the DOCTYPE declaration so it read "http://www.openhealth.org/RDDL/rddl-xhtml.dtd". Now rxp could find the pieces. rxp said the document is well-formed and it gave no validity errors - of course it gave a lot of warnings about redefinitions - but it also had warnings about missing attributes. It didn't like the xlink or rddl namespace "attributes", and it didn't seem to understand the html stuff. This part of the warning messages is included below. There are several interesting things here. 1) I either needed to edit the html file, or I needed a catalog mechanism to find the rddl dtd - in other words, I need rddl-aware software to validate the rddl spec if I import it to my own machine! Intriguing. This leads to the next point. 2) Once the spec is complete and valid, it would be very nice to use it as part of any conformance requirements. In other words, a conforming (validating) processor has to be able to validate a local copy of the spec, since it describes its own dtd! You might have to tweak the rddl element for the dtd by adding an arcrole so that the processor can be sure what the dtd is for. 3) Although rxp is reasonably fast, the validation process was pretty slow. The slowness seems to have been getting all the dtd pieces over the network. This highlights how important caching is going to be. In turn, this says that rddl will have to work with cached resources. I'm not really up on caching issues. Anyone who is, please help out here. What, if anything, needs to be included in rddl to have it work correctly with cached resources? Here are some of rxp's earnings: Warning: Undeclared attribute xmlns:xlink for element html in unnamed entity at line 4 char 14 of file:/D:/temp/RDDL.htm Warning: Undeclared attribute xmlns:rddl for element html in unnamed entity at line 5 char 13 of file:/D:/temp/RDDL.htm Warning: Undeclared attribute type for element li in unnamed entity at line 29 char 11 of file:/D:/temp/RDDL.htm Warning: Undeclared attribute cellpadding for element table in unnamed entity at line 130 char 30 of file:/D:/temp/RDDL.htm Warning: Undeclared attribute border for element table in unnamed entity at line 130 char 41 of file:/D:/temp/RDDL.htm Warning: Undeclared attribute bgcolor for element table in unnamed entity at line 130 char 53 of file:/D:/temp/RDDL.htm Warning: Undeclared attribute width for element table in unnamed entity at line 130 char 69 of file:/D:/temp/RDDL.htm Warning: Undeclared attribute name for element h2 in unnamed entity at line 232 char 9 of file:/D:/temp/RDDL.htm Warning: Content model for a does not allow element a here in unnamed entity at line 351 char 34 of file:/D:/temp/RDDL.htm Warning: Content model for a does not allow element a here in unnamed entity at line 352 char 32 of file:/D:/temp/RDDL.htm Warning: Content model for a does not allow element a here in unnamed entity at line 353 char 35 of file:/D:/temp/RDDL.htm Warning: Content model for a does not allow element a here in unnamed entity at line 354 char 34 of file:/D:/temp/RDDL.htm Warning: Content model for a does not allow element a here in unnamed entity at line 355 char 40 of file:/D:/temp/RDDL.htm Warning: Content model for a does not allow element a here in unnamed entity at line 356 char 39 of file:/D:/temp/RDDL.htm Warning: Content model for a does not allow element a here in unnamed entity at line 359 char 36 of file:/D:/temp/RDDL.htm ----- Original Message ----- From: "Jonathan Borden" <jborden@m...> To: <xml-dev@l...> Sent: Sunday, January 14, 2001 9:52 AM Subject: RDDL draft 20010114 > A new RDDL draft is available at: http://www.rddl.org/ > > This draft incorporates changes contributes by a number of people and after > an excellent discussion. The most substantial changes are in the > specification of the xl:role and xl:arcrole attributes. > > I've also placed a preliminary RELAX schema (derived from MURATA Makoto's > XHTML Basic RELAX schema) as a new resource in the document (see > http://www.rddl.org/#RELAX and http://www.rddl.org/#ZIP ) > > -Jonathan >
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|