[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: RDDL draft 20010114

  • From: Jason Diamond <jason@i...>
  • To: "Thomas B. Passin" <tpassin@h...>, xml-dev@l...,Jonathan Borden <jborden@m...>
  • Date: Sun, 14 Jan 2001 13:34:48 -0800

xmltextreader network
Hi.

> 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.

http://www.rddl.org/#ZIP points to an archive where you can download all of
the DTD files. It comes in very handy while debugging. Unfortunately,
Jonathan had to modify part of the XHTML DTD because it included a PI with a
colon in the target name (which is illegal according to XML-NAMES). My XML
parser was throwing up on that one PI which made processing the actual
document rather difficult. I've emailed www-html-editor about that but
haven't gotten a response yet.

> 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.

I love this!

> 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?

I'm running into the same thing. There's an inordinate amount of external
entities as part of the modularization DTD. I don't believe that RDDL has to
do anything specific to support caching. That's most likely up to the
specific implementations. For example, using Microsoft's XmlTextReader
parser, I can give it a custom XmlUrlResolver that checks a local cache for
entities based on their URIs. So the second time a specific URL is resolved,
the XmlTextReader would read it from the local filesystem rather than from
over the network.

Of course, it would be nice if the RDDL DTD could refer to the W3C's XHTML
DTD using an absolute URI. Due to the bad PI I mentioned above, however,
this would make developing my RDDL processor impossible for me.

Jason.


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.