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
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
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
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
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
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
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
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