RE: Problem in XML/DTD

2001-10-23 Thread David Lindquist
According to the W3C XML spec, the character "<" is forbidden in attribute values: AttValue ::= '"' ([^<&"] | Reference)* '"' | "'" ([^<&'] | Reference)* "'" -Original Message- From: Java Xml Dev [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 23, 2001 4:56 AM To: [EMAIL PROTECTED] Subj

RE: Schema - regular expression question

2001-10-16 Thread David Lindquist
perhaps and ? -Original Message- From: Benson Cheng [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 16, 2001 1:55 PM To: '[EMAIL PROTECTED]' Subject: RE: Schema - regular expression question I tried that, but and are not allowed for type of "double". Thanks, Benson. -Original

RE: Schema - regular expression question

2001-10-16 Thread David Lindquist
I believe you need to include the following inside the restriction: -Original Message- From: Benson Cheng [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 16, 2001 1:32 PM To: [EMAIL PROTECTED] Subject: Schema - regular expression question Hi All, I have a regular expression qeustion

RE: A utility to view XML

2001-09-28 Thread David Lindquist
Jason, Attached is my own attempt at the kind of utility you mentioned below. A glance at the source will show that I'm not much of a Java programmer, but it seems to work OK. The program takes an XML file as a command line argument and generates an HTML file which mimics the IE XML viewing capabi

RE: regexp bug

2001-09-13 Thread David Lindquist
Whoops. Should have done my homework. It appears that Xerces does not recognize the "^" and "$". I think this is what you want: -Original Message- From: Radek Wisniewski [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2001 7:12 AM To: [EMAIL PROTECTED] Subject: regexp bug Pa

RE: regexp bug

2001-09-13 Thread David Lindquist
This is not an error. The regex pattern specifies that the value must contain two, three, or four "a" characters. It does NOT specify that the value must ONLY contain two, three, or four "a" characters. Try using ^[a]{2,4}$ -Original Message- From: Radek Wisniewski [mailto:[EMAIL PROTECTE

RE: newbie question: schema validation in Xerces-J 1.4.1

2001-09-07 Thread David Lindquist
IL PROTECTED] Subject: Re: newbie question: schema validation in Xerces-J 1.4.1 David Lindquist schrieb: : > I am using SAX 2.0 and Xerces-J 1.4.1. I have verified that the schema is > well-formed. The parsing worked fine when I referenced a DTD. Why can I not > simply change the document

newbie question: schema validation in Xerces-J 1.4.1

2001-09-06 Thread David Lindquist
Hello, I receive the following error message when I try to validate an XML document against a schema: "The markup declarations contained or pointed to by the document type declaration must be well-formed." I am using SAX 2.0 and Xerces-J 1.4.1. I have verified that the schema is well-for