grouper-users - Question about xml-import
Subject: Grouper Users - Open Discussion List
List archive
- From: Kathryn Huxtable <>
- To: "" <>
- Subject: Question about xml-import
- Date: Fri, 04 Aug 2006 09:46:53 -0500
Title: Question about xml-import Any idea why the following file doesn't work?
<?xml version="1.0" encoding="UTF-8"?>
<registry>
<metadata>
<groupTypesMetaData>
<groupTypeDef name="entitlement">
<field name="eduPersonEntitlement">
required="true"
type="attribute"
readPriv="read"
writePriv="update"/>
</groupTypeDef>
</groupTypesMetaData>
</metadata>
</registry>
I get the following:
[java] 2006-08-04 09:35:57,956 INFO XmlImporter: Loading default properties [import.properties]
[java] 2006-08-04 09:35:57,965 INFO XmlImporter: Failed to find [import.properties] in working directory, trying classpath
[java] [Fatal Error] foo.xml:14:9: The element type "field" must be terminated by the matching end-tag "</field>".
[java] Exception in thread "main" org.xml.sax.SAXParseException: The element type "field" must be terminated by the matching end\
-tag "</field>".
[java] at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:264)
[java] at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292)
[java] at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:172)
[java] at edu.internet2.middleware.grouper.XmlImporter.getDocument(Unknown Source)
[java] at edu.internet2.middleware.grouper.XmlImporter.main(Unknown Source)
The “field” element sure looks terminated to me.
-K
- Question about xml-import, Kathryn Huxtable, 08/04/2006
- Re: [grouper-users] Question about xml-import, Steve Lemons, 08/04/2006
- Re: [grouper-users] Question about xml-import, GW Brown, Information Systems and Computing, 08/04/2006
- Re: [grouper-users] Question about xml-import, Kathryn Huxtable, 08/04/2006
Archive powered by MHonArc 2.6.16.