[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Andrew Welch" <andrew.j.welch@g...>
  • To: "David Carlisle" <davidc@n...>
  • Date: Mon, 8 Dec 2008 15:16:10 +0000

2008/12/8 David Carlisle <davidc@n...>:
>
>> - the root element can be rss, rdf or atom...
>
> can't you just use a catalog that defaults a dtd that defines a bunch of
> entities if the top level elemnt is one of those? Rather than letting
> the parse start without a DTD and falling over undefined entity
> references later?

If possible could you provide an example?     (never really used catalogs)

The reason I went down the original route was I hoping to replace
entities with xml, such as:

<ent:entity name="euro" number="8364"/>

...similar to what I've done in the past with LexEv, but as George has
been pointed out its different when no doctype has been supplied.


It a little odd that feeds like this exist - they must be created by
non-xml tools, then consumed by non-xml tools...



-- 
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member