[jira] Commented: (CK-1) Schema Validation
jira-yCVjj/[email protected]
| Newsgroups | gmane.comp.java.spice.devel |
|---|---|
| Message-ID | <[email protected]> |
The following comment has been added to this issue:
Author: Peter Donald
Created: Tue, 25 Mar 2003 8:35 AM
Body:
Also need to look into Suns MultiSchema Validator (MSV)
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/secure/ViewIssue.jspa?key=CK-1
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CK-1
Summary: Schema Validation
Type: New Feature
Status: Assigned
Priority: Major
Time Spent: Unknown
Estimate: 0 minutes
Project: configkit
Fix Fors:
1.1
Versions:
1.0
Assignee: Peter Donald
Reporter: Peter Donald
Created: Mon, 24 Mar 2003 8:37 PM
Updated: Mon, 24 Mar 2003 8:56 PM
Description:
ConfigKit needs to implement a simplified Schema validator. The validator should read the schemas from the simplified entity catalog in the jar and should probably use the API at
http://iso-relax.sourceforge.net/apiDoc/index.html
Sample code would look like;
//Using PublicID
Validator validator =
ValidatorFactory.create( "-//PHOENIX/Assembly DTD Version 1.0//EN", null );
//Using SystemID
Validator validator =
ValidatorFactory.create( null, "http://jakarta.apache.org/phoenix/assembly_1_0.dtd" );
and then validation could occur via something like
validator.validate( myContentHandler );
validator.validate( myStream );
validator.validate( new InputSource(myStream) );
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en