[jdom-interest] Off Topic - Schema and namespaces
Kevin L. Cobb
kevin.cobb at emergint.com
Tue Aug 23 10:30:39 PDT 2005
I realize this is off topic and I've exhausted the internet on this
topic - nothing seems to work. I hope that someone here is a schema
namespace guru or can offere some advice in this direction.
I've made a relatively simple example to illustrate my problem.
I have an XML file that has one element in a different namespace.
How do I get my schema for the XML set up so that the TimeCreated
element is in the correct namespace? My current schema errors on the
TimeCreated element because its in a different namespace. I guess I just
need the syntax for the schema that says that TimeCreated is in the
"kevin" namespace. I just can't get over this hurdle.
<?xml version="1.0" encoding="UTF-8"?>
<xs:element name="TimeCreated" minOccurs="0"/>
<xs:element name="MessageType" minOccurs="0"/>
Kevin L Cobb, MT(ASCP), SCJP2
Senior Software Engineer
2724 River Green Circle
Louisville, KY 40206
Kevin.Cobb at emergint.com <mailto:Kevin.Cobb at emergint.com>
502.896.6210 ext 255
The preceding e-mail message and attachments, if any, contains
information that is confidential and qualifies as such under the
Definition of Confidential Information in the Non-Disclosure Agreement,
and may constitute non-public information and trade secrets. It is
intended to be conveyed only to the designated recipient(s). If you are
not an intended recipient of this message, please notify the sender at
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jdom-interest