Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Question about xml-import

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Question about xml-import


Chronological Thread 
  • From: Kathryn Huxtable <>
  • To: "GW Brown, Information Systems and Computing" <>, <>
  • Subject: Re: [grouper-users] Question about xml-import
  • Date: Fri, 04 Aug 2006 10:20:06 -0500

Doh! -K


On 8/4/06 9:54 AM, "GW Brown, Information Systems and Computing"
<>
wrote:

> 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
>




Archive powered by MHonArc 2.6.16.

Top of Page