> -----Original Message-----
> From: David Graham [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 01, 2002 10:31 AM
> To: [EMAIL PROTECTED]
> Subject: RE: struts-config_1_1.dtd error?
> 
> 
> Thanks for the link. I've never used xml schema and most xml 
> I've seen is 
> validated against a dtd but it's nice that it's there.
> 
> Should I post this to bugzilla or does one of the committers 
> want to quickly 
> remove that line from the dtd?

Please add a bug report in Bugzilla. In addition to the file in CVS, we need
to update the copy at the public URL as well.

--
Martin Cooper


> 
> Dave
> 
> 
> >From: "James Childers" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Developers List" <[EMAIL PROTECTED]>
> >To: "Struts Developers List" <[EMAIL PROTECTED]>
> >Subject: RE: struts-config_1_1.dtd error?
> >Date: Tue, 1 Oct 2002 12:14:18 -0500
> >
> >David Graham wrote:
> >
> > > The struts-config_1_1.dtd file starts with this line:
> > >
> > > <?xml version="1.0" encoding="ISO-8859-1"?>
> > >
> > > which I think is incorrect.  DTDs aren't xml documents so
> > > they shouldn't start with that processing instruction.
> > > I'm not an XML expert but Sun's DTDs don't have this line
> > > in them and it causes Opera to complain about xml
> > > parsing errors when trying to view it.
> >
> >You are correct. DTDs are not XML documents, and are processed quite 
> >differently. It is because of this and other reasons that 
> schemas were 
> >proposed and made a recommendation by the W3C. Schemas serve 
> a similar 
> >purpose to DTDs, but are themselves XML documents.
> >
> >This explains the difference between the two: 
> >http://www.ucc.ie/xml/#schemas
> >
> >In short, the PI should be removed from the DTD, and Opera's 
> parser was 
> >correct to complain about it.
> >
> >-= James
> >
> >--
> >To unsubscribe, e-mail:   
> ><mailto:[EMAIL PROTECTED]>
> >For additional commands, e-mail: 
> ><mailto:[EMAIL PROTECTED]>
> 
> 
> 
> 
> _________________________________________________________________
> Join the world's largest e-mail service with MSN Hotmail. 
> http://www.hotmail.com
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to