OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   RE: [xml-dev] XML Schema in JAXP1.2

[ Lists Home | Date Index | Thread Index ]

Title: RE: [xml-dev] XML Schema in JAXP1.2

You need to place the jars in

in order to override the jaxp 1.1 stuff
that is part of jdk 1.4.

In addition, you will be replacing Crimson
with Xerces.


-----Original Message-----
From: Shen Xu [mailto:xushen@redstar.cs.pdx.edu]
Sent: Tuesday, July 08, 2003 1:07 PM
To: xml-dev@lists.xml.org
Subject: [xml-dev] XML Schema in JAXP1.2


Does anybody have experiences with JAXP1.2?

I am trying to valiidate an instance XML doc according to an XML Schema
using JAXP1.2 .  According to the documentation, JAXP1.2 is supposed to
support XML Schema. However, I always got the error like "attributes are
not implemented", when I tried to set any XML Schema such as:

try {
  factory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
catch (IllegalArgumentException x) {
  // Happens if the parser does not support JAXP 1.2

I installed both J2SE1.4.2 and JWSDP1.2, and I am using NetBeans to
develop my programs.

Do I need to do any further configurations?



The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>

"Bringing people together to advance their lives."

NOTICE: The information contained in this electronic mail transmission is intended by TMP Interactive Inc. d/b/a Monster or one of its subsidiaries for the use of the named individual or entity to which it is addressed and may contain information that is privileged or otherwise confidential.  It is not intended for transmission to, or receipt by, any individual or entity other than the named addressee (or a person authorized to deliver it to the named addressee) except as otherwise expressly permitted in this electronic mail transmission. If you have received this electronic transmission in error, please delete it without copying or forwarding it, and notify the sender of the error by reply email or by calling Monster at 1-800-MONSTER.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS