Next in thread →
Next in month →
Re: [xml-dev] References to unparsed entities
Thanks. I hadn't noticed the difference between error and fatal error. -- Ronb On 1/6/2018 4:13 PM, John Cowan wrote: > > > On Sat, Jan 6, 2018 at 6:14 PM, Ronald Bourret < > <mailto:>> wrote: > > Section 4.4.9 states: > > "The following ... constitute fatal errors: the appearance of a > reference to an unparsed entity, except in the EntityValue in an > entity declaration." > > Section 4.4.9 states: > > "It is an error for a reference to an unparsed entity to appear in > the EntityValue in an entity declaration." > > Why don't these contradict each other? > > > Because they apply in mutually exclusive circumstances. Outside an > entity declaration, a reference to an unparsed entity is a fatal error > that must be detected and reported. Inside an entity declaration, it is > merely an error, which may or may not be detected and, if detected, may > or may not be reported. > > "Outside of a dog, a book is a man's best friend. Inside of a dog, it's > too dark to read." —Groucho Marx > > -- > John Cowan http://vrici.lojban.org/~cowan > <mailto:> > I come from under the hill, and under the hills and over the hills my paths > led. And through the air. I am he that walks unseen. I am the clue-finder, > the web-cutter, the stinging fly. I was chosen for the lucky number. > --Bilbo >
Next in thread →
Next in month →