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

PR.xml

  • From: Peter Murray-Rust <peter@u...>
  • To: xml-dev@i...
  • Date: Fri, 16 Jan 1998 14:21:05

doctype spec
I thought it would be a useful exercise to parse the XML version of the XML
PR, but I've run into minor problems. Using Netscape I downloaded the
version with TimBray's name and 3 December and have tried running it with
Lark and AElfred.

The first problem is that both throw errors because the DOCTYPE contains a
reference to "spec.dtd". No spec.dtd was available, so the only remedies are:
	- edit out the reference to spec.dtd (i.e. use <!DOCTYPE spec [  )
	- make a dummy spec.dtd

When I tried the first with AElfred it found an illegal character (-96),
which I take to be 160 (== nbsp). My edit was done with WordPad. Where did
this come from?  [Note that AElfred seems quite happy with Lark.xml - Tim's
documentation for lark in XML].

I tried the second with Lark, using the line:

<!DOCTYPE spec SYSTEM "spec.dtd" [

but although I created spec.dtd in both the directory for pr.xml and the
directory where I was running Lark from it didn't work. I had to explicitly
hardcode something like:

<!DOCTYPE spec SYSTEM "file:/C:/xmlstuff/spec.dtd" [

I expect I have made some silly errors, but if so they are typical of the
sort of errors that people will make.  
	- Could DavidM confirm that AElfred does/does not work with the XML
version of the PR? 
	- Is is reasonable to expect parsers to throw fatal errors if they can't
find *.dtd? If so, we are going to have to work very hard to make sure that
*.dtd is always instantly available.
	- should parsers accept relative filenames in documents - if so relative
to what?
	- where has character -96 come from? [The download, wordpad?]
	- or is it just a bad day?

	P.

Peter Murray-Rust, Director Virtual School of Molecular Sciences, domestic
net connection
VSMS http://www.nottingham.ac.uk/vsms, Virtual Hyperglossary
http://www.venus.co.uk/vhg

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


  • Follow-Ups:
    • PR.xml
      • From: David Megginson <ak117@f...>

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.