Thank you. Jae.
-----Original Message----- From: Jesse Pelton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 5:07 AM To: '[EMAIL PROTECTED]' Subject: RE: Can Anyone Explain These Results? The XML 1.0 spec says, "An XML document is valid if it has an associated document type declaration and if the document complies with the constraints expressed in it." Thus a file cannot be valid without a DTD. It seems that by convention schema-valid documents are also referred to as valid, though the XML spec has nothing to say about schema validity, since it preceded the development of the schema spec. Anyway, that's why you have to have a DTD or schema to validate. > -----Original Message----- > From: Dean Roddey [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 21, 2002 9:58 PM > To: [EMAIL PROTECTED] > Subject: RE: Can Anyone Explain These Results? > > If you tell it to always validate, its got to have a DTD or Schema to > validate against. > > ------------------------------------- > Dean Roddey > The Charmed Quark Controller > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > www.charmedquark.com <http://www.charmedquark.com> > > > -----Original Message----- > From: In, Jae Woo [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 21, 2002 6:56 PM > To: Apache XML Developer List > Subject: Can Anyone Explain These Results? > > Hello, > I am currently testing Xerces C++ 1.6 on NonStop Kernal. I > executed a test in which I set SAXCount with -v=always and got error > messages. I used a valid XML file (logon.xml), except that it lack a > DOCTYPE or Schema declaration. I verified that the XML file is valid with > SAXCount. In this instance I set v=auto. Here is the result: > > logon.xml: 29 ms (10 elems, 12 attrs, 0 spaces, 44 chars) > > Is SAXCount suppose to return parsing errors against a valid XML > file just because the document lacks either a DOCTYPE or Schema > declaration? Thank you in advance. > > Jae. << File: ATT00002.txt >> << File: ATT05944.txt >> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
