You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by hi...@jakarta.apache.org on 2004/09/28 16:51:32 UTC

[jira] Commented: (HIVEMIND-62) Add ability to parse extenal files using a Schema

The following comment has been added to this issue:

     Author: Knut Wannheden
    Created: Tue, 28 Sep 2004 7:51 AM
       Body:
Sounds interesting.  But I don't quite understand what purpose it would serve ;-)  Could you provide a use case?

I also don't quite understand how you can get a List of objects from a Resource.  After all an XML fragment validated by a schema just maps to one object and an XML document only has one root.  Would we need an artificial root element with the fragments to be converted to objects as children thereof?  Or would an additional XPath argument identify the node set in the XML file to process?
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/HIVEMIND-62?page=comments#action_53464

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/HIVEMIND-62

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: HIVEMIND-62
    Summary: Add ability to parse extenal files using a Schema
       Type: New Feature

     Status: Unassigned
   Priority: Minor

    Project: HiveMind
 Components: 
             framework

   Assignee: 
   Reporter: Howard M. Lewis Ship

    Created: Tue, 28 Sep 2004 6:11 AM
    Updated: Tue, 28 Sep 2004 7:51 AM

Description:
It would be nice to be able to use a Schema, defined within HiveMind, to parse an external file (a Resource) using either a validating or non-validating XML parser.

This implies a number of changes; it will be necessary to have a lookup mechanism for Schemas (that honors their visibility). A "schema:" object provider, as well. A service (in the library) that can be "fed" a schema and a Resource, and provide back a List of objects.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org