grouper-users - Re: [grouper-users] Question about xml-import
Subject: Grouper Users - Open Discussion List
List archive
- From: "GW Brown, Information Systems and Computing" <>
- To: Kathryn Huxtable <>,
- Subject: Re: [grouper-users] Question about xml-import
- Date: Fri, 04 Aug 2006 15:54:05 +0100
Kathryn,
You have a rogue > at the end of:
<field name="eduPersonEntitlement">
Gary
--On 04 August 2006 09:46 -0500 Kathryn Huxtable
<>
wrote:
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(Documen
tBuilderImpl.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
----------------------
GW Brown, Information Systems and Computing
- 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.