You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-scm@geronimo.apache.org by gn...@apache.org on 2012/10/03 10:38:37 UTC

svn commit: r1393346 [7/8] - in /geronimo/xbean/trunk: ./ maven-xbean-plugin/ maven-xbean-plugin/src/main/java/org/apache/xbean/maven/ xbean-asm-shaded/src/main/appended-resources/META-INF/ xbean-blueprint/ xbean-blueprint/src/main/java/org/apache/xbea...

Modified: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/SaladService.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/SaladService.java?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/SaladService.java (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/SaladService.java Wed Oct  3 08:38:26 2012
@@ -1,62 +1,62 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.xbean.spring.example;
-
-/**
- * Basic salad.
- * @org.apache.xbean.XBean
- * 
- * @author Dain Sundstrom
- * @version $Id$
- * @since 1.0
- */
-
-// START SNIPPET: bean
-public class SaladService {
-    private final String dressing;
-    private final String size;
-    private final boolean crouton;
-
-    public SaladService(String dressing, String size, boolean crouton) {
-        this.dressing = dressing;
-        this.size = size;
-        this.crouton = crouton;
-    }
-
-    /**
-     * Dressing What type of dressing do you want?
-     */
-    public String getDressing() {
-        return dressing;
-    }
-
-    /**
-     * What size do you want?
-     */
-    public String getSize() {
-        return size;
-    }
-
-    /**
-     * Do you want crutons on that?
-     * @org.apache.xbean.Property alias="addCroutons"
-     */
-    public boolean isCrouton() {
-        return crouton;
-    }
-}
-// END SNIPPET: bean
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.xbean.spring.example;
+
+/**
+ * Basic salad.
+ * @org.apache.xbean.XBean
+ * 
+ * @author Dain Sundstrom
+ * @version $Id$
+ * @since 1.0
+ */
+
+// START SNIPPET: bean
+public class SaladService {
+    private final String dressing;
+    private final String size;
+    private final boolean crouton;
+
+    public SaladService(String dressing, String size, boolean crouton) {
+        this.dressing = dressing;
+        this.size = size;
+        this.crouton = crouton;
+    }
+
+    /**
+     * Dressing What type of dressing do you want?
+     */
+    public String getDressing() {
+        return dressing;
+    }
+
+    /**
+     * What size do you want?
+     */
+    public String getSize() {
+        return size;
+    }
+
+    /**
+     * Do you want crutons on that?
+     * @org.apache.xbean.Property alias="addCroutons"
+     */
+    public boolean isCrouton() {
+        return crouton;
+    }
+}
+// END SNIPPET: bean

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/SaladService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/SocketAddressFactory.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/SocketService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/SoupService.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/SoupService.java?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/SoupService.java (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/SoupService.java Wed Oct  3 08:38:26 2012
@@ -1,83 +1,83 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.xbean.spring.example;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-/**
- * @org.apache.xbean.XBean element="soup"
- *  description="This is a tasty soup"
- *
- * @author Dain Sundstrom
- * @version $Id$
- * @since 2.0
- */
-
-// START SNIPPET: bean
-public class SoupService {
-    private static final Log log = LogFactory.getLog(SoupService.class);
-
-    /**
-     * @org.apache.xbean.FactoryMethod
-     */
-    public static SoupService newSoup(String type) {
-        return new SoupService(type, System.currentTimeMillis());
-    }
-
-    private final String type;
-    private final long createTime;
-    private boolean exists = false;
-
-    private SoupService(String type, long createTime) {
-        this.type = type;
-        this.createTime = createTime;
-    }
-
-    /**
-     * @org.apache.xbean.InitMethod
-     */
-    public void make() {
-        log.info("Making " + type + "soup");
-        exists = true;
-    }
-
-    /**
-     * @org.apache.xbean.DestroyMethod
-     */
-    public void eat() {
-        log.info("Mummmm " + type + "soup is yummie!");
-        exists = false;
-    }
-
-    public boolean exists() {
-        return exists;
-    }
-
-    /**
-     * What type of soup would you like?
-     */
-    public String getSoupType() {
-        return type;
-    }
-
-    public long getCreateTime() {
-        return createTime;
-    }
-}
-// END SNIPPET: bean
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.xbean.spring.example;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+/**
+ * @org.apache.xbean.XBean element="soup"
+ *  description="This is a tasty soup"
+ *
+ * @author Dain Sundstrom
+ * @version $Id$
+ * @since 2.0
+ */
+
+// START SNIPPET: bean
+public class SoupService {
+    private static final Log log = LogFactory.getLog(SoupService.class);
+
+    /**
+     * @org.apache.xbean.FactoryMethod
+     */
+    public static SoupService newSoup(String type) {
+        return new SoupService(type, System.currentTimeMillis());
+    }
+
+    private final String type;
+    private final long createTime;
+    private boolean exists = false;
+
+    private SoupService(String type, long createTime) {
+        this.type = type;
+        this.createTime = createTime;
+    }
+
+    /**
+     * @org.apache.xbean.InitMethod
+     */
+    public void make() {
+        log.info("Making " + type + "soup");
+        exists = true;
+    }
+
+    /**
+     * @org.apache.xbean.DestroyMethod
+     */
+    public void eat() {
+        log.info("Mummmm " + type + "soup is yummie!");
+        exists = false;
+    }
+
+    public boolean exists() {
+        return exists;
+    }
+
+    /**
+     * What type of soup would you like?
+     */
+    public String getSoupType() {
+        return type;
+    }
+
+    public long getCreateTime() {
+        return createTime;
+    }
+}
+// END SNIPPET: bean
+

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/SoupService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/VodkaService.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/VodkaService.java?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/VodkaService.java (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/VodkaService.java Wed Oct  3 08:38:26 2012
@@ -1,63 +1,63 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.xbean.spring.example;
-
-/**
- * It comes from a potatoe, it must be good.
- * 
- * @org.apache.xbean.XBean element="vodka"
- * 
- * @author Dan Diephouse
- * @version $Id: VodkaService.java 434369 2006-08-24 10:24:21Z gnodet $
- * @since 2.0
- */
-
-// START SNIPPET: bean
-public class VodkaService {
-    private String id;
-    private String name;
-    private Class vodkaClass;
-    
-    public VodkaService() {
-    }
-
-    public String getId() {
-        return id;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    public void setId(String id) {
-        this.id = id;
-    }
-
-    public void setName(String name) {
-        this.name = name;
-    }
-
-    public Class getVodkaClass() {
-        return vodkaClass;
-    }
-
-    public void setVodkaClass(Class vodkaClass) {
-        this.vodkaClass = vodkaClass;
-    }
-}
-// END SNIPPET: bean
-
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.xbean.spring.example;
+
+/**
+ * It comes from a potatoe, it must be good.
+ * 
+ * @org.apache.xbean.XBean element="vodka"
+ * 
+ * @author Dan Diephouse
+ * @version $Id: VodkaService.java 434369 2006-08-24 10:24:21Z gnodet $
+ * @since 2.0
+ */
+
+// START SNIPPET: bean
+public class VodkaService {
+    private String id;
+    private String name;
+    private Class vodkaClass;
+    
+    public VodkaService() {
+    }
+
+    public String getId() {
+        return id;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public Class getVodkaClass() {
+        return vodkaClass;
+    }
+
+    public void setVodkaClass(Class vodkaClass) {
+        this.vodkaClass = vodkaClass;
+    }
+}
+// END SNIPPET: bean
+

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/VodkaService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/example/WineService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/generator/CheeseService.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/generator/CheeseService.java?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/generator/CheeseService.java (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/generator/CheeseService.java Wed Oct  3 08:38:26 2012
@@ -1,56 +1,56 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.xbean.spring.generator;
-
-/**
- * Cheezy goodness
- *
- * @org.apache.xbean.XBean element="cheese"
- *
- * @author Dain Sundstrom
- * @version $Id$
- */
-public class CheeseService {
-    private String id;
-    private String name;
-
-    private long volume;
-    
-    public CheeseService(String id, String name) {
-        this.id = id;
-        this.name = name;
-    }
-
-    public String getId() {
-        return id;
-    }
-
-    public String getName() {
-        return name;
-    }
-    
-    public long getVolumeWithPropertyEditor() {
-    	return volume;
-    }
-    
-    /**
-    * @org.apache.xbean.Property propertyEditor="org.apache.xbean.spring.example.MilliLittersPropertyEditor"
-    */
-    public void setVolumeWithPropertyEditor(long volume) {
-    	this.volume = volume;
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.xbean.spring.generator;
+
+/**
+ * Cheezy goodness
+ *
+ * @org.apache.xbean.XBean element="cheese"
+ *
+ * @author Dain Sundstrom
+ * @version $Id$
+ */
+public class CheeseService {
+    private String id;
+    private String name;
+
+    private long volume;
+    
+    public CheeseService(String id, String name) {
+        this.id = id;
+        this.name = name;
+    }
+
+    public String getId() {
+        return id;
+    }
+
+    public String getName() {
+        return name;
+    }
+    
+    public long getVolumeWithPropertyEditor() {
+    	return volume;
+    }
+    
+    /**
+    * @org.apache.xbean.Property propertyEditor="org.apache.xbean.spring.example.MilliLittersPropertyEditor"
+    */
+    public void setVolumeWithPropertyEditor(long volume) {
+    	this.volume = volume;
+    }
+}

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/generator/CheeseService.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/generator/ModelTest.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/generator/ModelTest.java?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/generator/ModelTest.java (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/generator/ModelTest.java Wed Oct  3 08:38:26 2012
@@ -1,212 +1,212 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.xbean.spring.generator;
-
-import junit.framework.TestCase;
-import org.apache.xbean.spring.example.BeerService;
-import org.springframework.beans.factory.xml.PluggableSchemaResolver;
-import org.xml.sax.*;
-
-import javax.xml.parsers.DocumentBuilder;
-import javax.xml.parsers.DocumentBuilderFactory;
-import javax.xml.parsers.ParserConfigurationException;
-import java.beans.PropertyEditorManager;
-import java.io.*;
-import java.util.*;
-import java.util.concurrent.atomic.AtomicBoolean;
-import java.util.concurrent.atomic.AtomicReference;
-
-/**
- * @author Dain Sundstrom
- * @version $Id$
- * @since 1.0
- */
-public class ModelTest extends TestCase {
-    private static final String DEFAULT_NAMESPACE = "http://xbean.apache.org/test";
-
-    public void testQdox() throws Exception{
-        String basedir = System.getProperties().getProperty("basedir", ".");
-        QdoxMappingLoader mappingLoader = new QdoxMappingLoader(DEFAULT_NAMESPACE, new File[] { new File(basedir, "/src/test/java")}, null);
-        NamespaceMapping defaultNamespace = getDefaultNamespace(mappingLoader);
-        assertNotNull(defaultNamespace);
-        ElementMapping element = defaultNamespace.getElement("pizza");
-        assertNotNull(element);
-        AttributeMapping attribute = element.getAttribute("myTopping");
-        assertNotNull(attribute);
-        assertEquals("topping", attribute.getPropertyName());
-
-        ElementMapping beer = defaultNamespace.getElement("beer");
-        assertNotNull(beer);
-        AttributeMapping beerId = beer.getAttribute("id");
-        assertNotNull(beerId);
-        AttributeMapping beerName = beer.getAttribute("name");
-        assertNotNull(beerName);
-
-        ElementMapping recipeService = defaultNamespace.getElement("recipe-service");
-        assertNotNull(recipeService);
-
-        Map flatCollections = recipeService.getFlatCollections();
-        assertNotNull(flatCollections);
-        assertEquals(1, flatCollections.size());
-        
-        ElementMapping cheese = defaultNamespace.getElement("cheese");
-        assertNotNull(cheese);
-        AttributeMapping volume = cheese.getAttribute("volumeWithPropertyEditor");
-        assertNotNull(volume);
-        assertNotNull(volume.getPropertyEditor());
-        assertEquals(volume.getType().getName(), "long");
-        
-        // validate xsd has string for attribute VolumeWithPropertyEditor
-        final AtomicBoolean gotExpected = new AtomicBoolean(false);
-        XsdGenerator generator = new XsdGenerator(null);
-        generator.generateSchema(new PrintWriter("dummy") {
-            @Override
-            public void println(String x) {
-                if (x.indexOf("volumeWithPropertyEditor") != -1) {
-                    if (x.indexOf("xs:string") != -1) {
-                        gotExpected.set(true);
-                    }
-                }
-            }
-        }, defaultNamespace);
-
-        assertTrue("xsd with string got genereated", gotExpected.get());
-    }
-
-    public void testQdoxExcludeClass() throws Exception{
-        String basedir = System.getProperties().getProperty("basedir", ".");
-        QdoxMappingLoader mappingLoader = new QdoxMappingLoader(DEFAULT_NAMESPACE,
-                new File[] { new File(basedir, "/src/test/java")},
-                new String[] { BeerService.class.getName() } );
-
-        NamespaceMapping defaultNamespace = getDefaultNamespace(mappingLoader);
-        assertNotNull(defaultNamespace);
-
-        ElementMapping element = defaultNamespace.getElement("pizza");
-        assertNotNull(element);
-        ElementMapping beer = defaultNamespace.getElement("beer");
-        assertNull(beer);
-    }
-
-    public void testQdoxExcludePackage() throws Exception{
-        String basedir = System.getProperties().getProperty("basedir", ".");
-        QdoxMappingLoader mappingLoader = new QdoxMappingLoader(DEFAULT_NAMESPACE,
-                new File[] { new File(basedir, "/src/test/java")},
-                new String[] { "org.apache.xbean.spring.example" } );
-
-        NamespaceMapping defaultNamespace = getDefaultNamespace(mappingLoader);
-        assertNotNull(defaultNamespace);
-
-        ElementMapping element = defaultNamespace.getElement("pizza");
-        assertNull(element);
-        ElementMapping beer = defaultNamespace.getElement("beer");
-        assertNull(beer);
-        ElementMapping cheese = defaultNamespace.getElement("cheese");
-        assertNotNull(cheese);
-    }
-
-    private NamespaceMapping getDefaultNamespace(QdoxMappingLoader mappingLoader) throws IOException {
-        Set namespaces = mappingLoader.loadNamespaces();
-        assertFalse(namespaces.isEmpty());
-
-        NamespaceMapping defaultNamespace = null;
-        for (Iterator iterator = namespaces.iterator(); iterator.hasNext();) {
-            NamespaceMapping namespaceMapping = (NamespaceMapping) iterator.next();
-            if (namespaceMapping.getNamespace().equals(DEFAULT_NAMESPACE)) {
-                defaultNamespace = namespaceMapping;
-                break;
-            }
-        }
-        return defaultNamespace;
-    }
-
-    public void testPropertyEditor() {
-        List editorSearchPath = new LinkedList(Arrays.asList(PropertyEditorManager.getEditorSearchPath()));
-        editorSearchPath.add("org.apache.xbean.spring.context.impl");
-        PropertyEditorManager.setEditorSearchPath((String[]) editorSearchPath.toArray(new String[editorSearchPath.size()]));
-        assertTrue(Utils.isSimpleType(Type.newSimpleType("java.net.URI")));
-    }
-
-    public void testXSDValidation() throws Exception{
-
-        InputStream xmlFile = ModelTest.class.getResourceAsStream("model-test-xsd-validation.xml");
-        File xsd = generateXSD();
-        validate(xmlFile, xsd);
-
-    }
-
-    private File generateXSD() throws IOException {
-        String basedir = System.getProperties().getProperty("basedir", ".");
-        final File targetXSD = new File(basedir, "target/test-data/model-test.xsd");
-        targetXSD.getParentFile().mkdirs();
-        QdoxMappingLoader mappingLoader = new QdoxMappingLoader(DEFAULT_NAMESPACE, new File[] { new File(basedir, "/src/test/java")}, null);
-        NamespaceMapping namespaceMapping = getDefaultNamespace(mappingLoader);
-        XsdGenerator generator = new XsdGenerator(targetXSD);
-        generator.setLog(new LogFacade() {
-            public void log(String message) {
-            }
-            public void log(String message, int level) {
-            }
-        });
-        generator.generate(namespaceMapping);
-        return targetXSD;
-    }
-
-    private void validate(InputStream xml, final File xsd) throws ParserConfigurationException, SAXException, IOException {
-        assertNotNull(xml);
-        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
-        factory.setNamespaceAware(true);
-        factory.setValidating(true);
-        factory.setAttribute("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
-
-        final AtomicReference<SAXParseException> error = new AtomicReference<SAXParseException>();
-
-        DocumentBuilder builder = factory.newDocumentBuilder();
-
-        builder.setErrorHandler(new ErrorHandler() {
-            public void warning(SAXParseException exception) throws SAXException {
-                error.set(exception);
-            }
-
-            public void error(SAXParseException exception) throws SAXException {
-                error.set(exception);
-            }
-
-            public void fatalError(SAXParseException exception) throws SAXException {
-                error.set(exception);
-            }
-        });
-        builder.setEntityResolver(new EntityResolver() {
-            public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
-                PluggableSchemaResolver springResolver = new PluggableSchemaResolver(getClass().getClassLoader());
-                InputSource source = springResolver.resolveEntity(publicId, systemId);
-                if (source == null && "http://xbean.apache.org/test.xsd".equals(systemId)) {
-                    source = new InputSource(new FileInputStream(xsd));
-                    source.setPublicId(publicId);
-                    source.setSystemId(systemId);
-                }
-
-                return source;
-            }
-        });
-        builder.parse(xml);
-        if (error.get() != null) {
-            error.get().printStackTrace();
-            fail("Validateion failed: " + error.get().getMessage());
-        }
-    }
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.xbean.spring.generator;
+
+import junit.framework.TestCase;
+import org.apache.xbean.spring.example.BeerService;
+import org.springframework.beans.factory.xml.PluggableSchemaResolver;
+import org.xml.sax.*;
+
+import javax.xml.parsers.DocumentBuilder;
+import javax.xml.parsers.DocumentBuilderFactory;
+import javax.xml.parsers.ParserConfigurationException;
+import java.beans.PropertyEditorManager;
+import java.io.*;
+import java.util.*;
+import java.util.concurrent.atomic.AtomicBoolean;
+import java.util.concurrent.atomic.AtomicReference;
+
+/**
+ * @author Dain Sundstrom
+ * @version $Id$
+ * @since 1.0
+ */
+public class ModelTest extends TestCase {
+    private static final String DEFAULT_NAMESPACE = "http://xbean.apache.org/test";
+
+    public void testQdox() throws Exception{
+        String basedir = System.getProperties().getProperty("basedir", ".");
+        QdoxMappingLoader mappingLoader = new QdoxMappingLoader(DEFAULT_NAMESPACE, new File[] { new File(basedir, "/src/test/java")}, null);
+        NamespaceMapping defaultNamespace = getDefaultNamespace(mappingLoader);
+        assertNotNull(defaultNamespace);
+        ElementMapping element = defaultNamespace.getElement("pizza");
+        assertNotNull(element);
+        AttributeMapping attribute = element.getAttribute("myTopping");
+        assertNotNull(attribute);
+        assertEquals("topping", attribute.getPropertyName());
+
+        ElementMapping beer = defaultNamespace.getElement("beer");
+        assertNotNull(beer);
+        AttributeMapping beerId = beer.getAttribute("id");
+        assertNotNull(beerId);
+        AttributeMapping beerName = beer.getAttribute("name");
+        assertNotNull(beerName);
+
+        ElementMapping recipeService = defaultNamespace.getElement("recipe-service");
+        assertNotNull(recipeService);
+
+        Map flatCollections = recipeService.getFlatCollections();
+        assertNotNull(flatCollections);
+        assertEquals(1, flatCollections.size());
+        
+        ElementMapping cheese = defaultNamespace.getElement("cheese");
+        assertNotNull(cheese);
+        AttributeMapping volume = cheese.getAttribute("volumeWithPropertyEditor");
+        assertNotNull(volume);
+        assertNotNull(volume.getPropertyEditor());
+        assertEquals(volume.getType().getName(), "long");
+        
+        // validate xsd has string for attribute VolumeWithPropertyEditor
+        final AtomicBoolean gotExpected = new AtomicBoolean(false);
+        XsdGenerator generator = new XsdGenerator(null);
+        generator.generateSchema(new PrintWriter("dummy") {
+            @Override
+            public void println(String x) {
+                if (x.indexOf("volumeWithPropertyEditor") != -1) {
+                    if (x.indexOf("xs:string") != -1) {
+                        gotExpected.set(true);
+                    }
+                }
+            }
+        }, defaultNamespace);
+
+        assertTrue("xsd with string got genereated", gotExpected.get());
+    }
+
+    public void testQdoxExcludeClass() throws Exception{
+        String basedir = System.getProperties().getProperty("basedir", ".");
+        QdoxMappingLoader mappingLoader = new QdoxMappingLoader(DEFAULT_NAMESPACE,
+                new File[] { new File(basedir, "/src/test/java")},
+                new String[] { BeerService.class.getName() } );
+
+        NamespaceMapping defaultNamespace = getDefaultNamespace(mappingLoader);
+        assertNotNull(defaultNamespace);
+
+        ElementMapping element = defaultNamespace.getElement("pizza");
+        assertNotNull(element);
+        ElementMapping beer = defaultNamespace.getElement("beer");
+        assertNull(beer);
+    }
+
+    public void testQdoxExcludePackage() throws Exception{
+        String basedir = System.getProperties().getProperty("basedir", ".");
+        QdoxMappingLoader mappingLoader = new QdoxMappingLoader(DEFAULT_NAMESPACE,
+                new File[] { new File(basedir, "/src/test/java")},
+                new String[] { "org.apache.xbean.spring.example" } );
+
+        NamespaceMapping defaultNamespace = getDefaultNamespace(mappingLoader);
+        assertNotNull(defaultNamespace);
+
+        ElementMapping element = defaultNamespace.getElement("pizza");
+        assertNull(element);
+        ElementMapping beer = defaultNamespace.getElement("beer");
+        assertNull(beer);
+        ElementMapping cheese = defaultNamespace.getElement("cheese");
+        assertNotNull(cheese);
+    }
+
+    private NamespaceMapping getDefaultNamespace(QdoxMappingLoader mappingLoader) throws IOException {
+        Set namespaces = mappingLoader.loadNamespaces();
+        assertFalse(namespaces.isEmpty());
+
+        NamespaceMapping defaultNamespace = null;
+        for (Iterator iterator = namespaces.iterator(); iterator.hasNext();) {
+            NamespaceMapping namespaceMapping = (NamespaceMapping) iterator.next();
+            if (namespaceMapping.getNamespace().equals(DEFAULT_NAMESPACE)) {
+                defaultNamespace = namespaceMapping;
+                break;
+            }
+        }
+        return defaultNamespace;
+    }
+
+    public void testPropertyEditor() {
+        List editorSearchPath = new LinkedList(Arrays.asList(PropertyEditorManager.getEditorSearchPath()));
+        editorSearchPath.add("org.apache.xbean.spring.context.impl");
+        PropertyEditorManager.setEditorSearchPath((String[]) editorSearchPath.toArray(new String[editorSearchPath.size()]));
+        assertTrue(Utils.isSimpleType(Type.newSimpleType("java.net.URI")));
+    }
+
+    public void testXSDValidation() throws Exception{
+
+        InputStream xmlFile = ModelTest.class.getResourceAsStream("model-test-xsd-validation.xml");
+        File xsd = generateXSD();
+        validate(xmlFile, xsd);
+
+    }
+
+    private File generateXSD() throws IOException {
+        String basedir = System.getProperties().getProperty("basedir", ".");
+        final File targetXSD = new File(basedir, "target/test-data/model-test.xsd");
+        targetXSD.getParentFile().mkdirs();
+        QdoxMappingLoader mappingLoader = new QdoxMappingLoader(DEFAULT_NAMESPACE, new File[] { new File(basedir, "/src/test/java")}, null);
+        NamespaceMapping namespaceMapping = getDefaultNamespace(mappingLoader);
+        XsdGenerator generator = new XsdGenerator(targetXSD);
+        generator.setLog(new LogFacade() {
+            public void log(String message) {
+            }
+            public void log(String message, int level) {
+            }
+        });
+        generator.generate(namespaceMapping);
+        return targetXSD;
+    }
+
+    private void validate(InputStream xml, final File xsd) throws ParserConfigurationException, SAXException, IOException {
+        assertNotNull(xml);
+        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
+        factory.setNamespaceAware(true);
+        factory.setValidating(true);
+        factory.setAttribute("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema");
+
+        final AtomicReference<SAXParseException> error = new AtomicReference<SAXParseException>();
+
+        DocumentBuilder builder = factory.newDocumentBuilder();
+
+        builder.setErrorHandler(new ErrorHandler() {
+            public void warning(SAXParseException exception) throws SAXException {
+                error.set(exception);
+            }
+
+            public void error(SAXParseException exception) throws SAXException {
+                error.set(exception);
+            }
+
+            public void fatalError(SAXParseException exception) throws SAXException {
+                error.set(exception);
+            }
+        });
+        builder.setEntityResolver(new EntityResolver() {
+            public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException {
+                PluggableSchemaResolver springResolver = new PluggableSchemaResolver(getClass().getClassLoader());
+                InputSource source = springResolver.resolveEntity(publicId, systemId);
+                if (source == null && "http://xbean.apache.org/test.xsd".equals(systemId)) {
+                    source = new InputSource(new FileInputStream(xsd));
+                    source.setPublicId(publicId);
+                    source.setSystemId(systemId);
+                }
+
+                return source;
+            }
+        });
+        builder.parse(xml);
+        if (error.get() != null) {
+            error.get().printStackTrace();
+            fail("Validateion failed: " + error.get().getMessage());
+        }
+    }
+}

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/generator/ModelTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/jndi/DefaultContextTest.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/jndi/DefaultContextTest.java?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/jndi/DefaultContextTest.java (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/jndi/DefaultContextTest.java Wed Oct  3 08:38:26 2012
@@ -1,68 +1,68 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.xbean.spring.jndi;
-
-import javax.naming.Context;
-import javax.naming.NameNotFoundException;
-import javax.naming.NamingException;
-
-import java.util.Hashtable;
-
-import junit.framework.TestCase;
-
-/**
- * @version $Revision: 657 $
- */
-public class DefaultContextTest extends TestCase {
-    Context context = new DefaultContext(new Hashtable());
-
-    public void testSimpleName() throws Exception {
-        assertContextNamed("name");
-    }
-
-    public void testNestedName() throws Exception {
-        assertContextNamed("jdbc/name");
-    }
-
-    public void testDoubleNestedName() throws Exception {
-        assertContextNamed("jdbc/foo/name");
-    }
-
-    protected void assertContextNamed(String name) throws NamingException {
-        context.bind(name, "James");
-        assertJNDILookup(name, "James");
-
-        context.rebind(name, "Rob");
-        assertJNDILookup(name, "Rob");
-
-        context.unbind(name);
-
-        try {
-            context.lookup(name);
-            fail("Should ave thrown NameNotFoundException!");
-        }
-        catch (NameNotFoundException e) {
-            System.out.println("Caught expected exception: " + e);
-        }
-    }
-
-    protected void assertJNDILookup(String name, String expected) throws NamingException {
-        Object value = context.lookup(name);
-        assertEquals("Lookup failed for: " + name, expected, value);
-    }
-
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.xbean.spring.jndi;
+
+import javax.naming.Context;
+import javax.naming.NameNotFoundException;
+import javax.naming.NamingException;
+
+import java.util.Hashtable;
+
+import junit.framework.TestCase;
+
+/**
+ * @version $Revision: 657 $
+ */
+public class DefaultContextTest extends TestCase {
+    Context context = new DefaultContext(new Hashtable());
+
+    public void testSimpleName() throws Exception {
+        assertContextNamed("name");
+    }
+
+    public void testNestedName() throws Exception {
+        assertContextNamed("jdbc/name");
+    }
+
+    public void testDoubleNestedName() throws Exception {
+        assertContextNamed("jdbc/foo/name");
+    }
+
+    protected void assertContextNamed(String name) throws NamingException {
+        context.bind(name, "James");
+        assertJNDILookup(name, "James");
+
+        context.rebind(name, "Rob");
+        assertJNDILookup(name, "Rob");
+
+        context.unbind(name);
+
+        try {
+            context.lookup(name);
+            fail("Should ave thrown NameNotFoundException!");
+        }
+        catch (NameNotFoundException e) {
+            System.out.println("Caught expected exception: " + e);
+        }
+    }
+
+    protected void assertJNDILookup(String name, String expected) throws NamingException {
+        Object value = context.lookup(name);
+        assertEquals("Lookup failed for: " + name, expected, value);
+    }
+
+}

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/jndi/DefaultContextTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/jndi/JndiTest.java
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/jndi/JndiTest.java?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/jndi/JndiTest.java (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/jndi/JndiTest.java Wed Oct  3 08:38:26 2012
@@ -1,67 +1,67 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.xbean.spring.jndi;
-
-import org.springframework.beans.factory.BeanFactory;
-import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
-
-import javax.naming.Context;
-import javax.naming.InitialContext;
-import javax.naming.NamingException;
-
-import java.util.Hashtable;
-
-import junit.framework.TestCase;
-
-public class JndiTest extends TestCase {
-
-    protected InitialContext createInitialContext() throws Exception {
-        Hashtable env = new Hashtable();
-        env.put(Context.INITIAL_CONTEXT_FACTORY, SpringInitialContextFactory.class.getName());
-        env.put(Context.PROVIDER_URL, "classpath:org/apache/xbean/spring/jndi/jndi.xml");
-        return new InitialContext(env);
-    }
-    
-    public void testSpringJNDILookup() throws Exception {
-        InitialContext context = createInitialContext();
-        assertEntryExists(context, "test");
-        assertEntryExists(context, "test/restaurant");
-    }
-    
-    public void testConfigureJndiInsideSpringXml() throws Exception {
-        // lets load a spring context
-
-        BeanFactory factory = new ClassPathXmlApplicationContext("org/apache/xbean/spring/jndi/spring.xml");
-        Object test = factory.getBean("restaurant");
-        assertNotNull("Should have found the test object", test);
-        Object jndi = factory.getBean("jndi");
-        assertNotNull("Should have found the jndi object", jndi);
-
-        Hashtable env = new Hashtable();
-        env.put(Context.INITIAL_CONTEXT_FACTORY, SpringInitialContextFactory.class.getName());
-        InitialContext context = new InitialContext(env);
-        assertEntryExists(context, "test");
-        assertEntryExists(context, "test/restaurant");
-        assertSame(test, context.lookup("test/restaurant"));
-    }
-    
-    protected void assertEntryExists(InitialContext context, String name) throws NamingException {
-        Object value = context.lookup(name);
-        assertNotNull(name + " should not be null", value);
-    }
-
-}
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.xbean.spring.jndi;
+
+import org.springframework.beans.factory.BeanFactory;
+import org.apache.xbean.spring.context.ClassPathXmlApplicationContext;
+
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import javax.naming.NamingException;
+
+import java.util.Hashtable;
+
+import junit.framework.TestCase;
+
+public class JndiTest extends TestCase {
+
+    protected InitialContext createInitialContext() throws Exception {
+        Hashtable env = new Hashtable();
+        env.put(Context.INITIAL_CONTEXT_FACTORY, SpringInitialContextFactory.class.getName());
+        env.put(Context.PROVIDER_URL, "classpath:org/apache/xbean/spring/jndi/jndi.xml");
+        return new InitialContext(env);
+    }
+    
+    public void testSpringJNDILookup() throws Exception {
+        InitialContext context = createInitialContext();
+        assertEntryExists(context, "test");
+        assertEntryExists(context, "test/restaurant");
+    }
+    
+    public void testConfigureJndiInsideSpringXml() throws Exception {
+        // lets load a spring context
+
+        BeanFactory factory = new ClassPathXmlApplicationContext("org/apache/xbean/spring/jndi/spring.xml");
+        Object test = factory.getBean("restaurant");
+        assertNotNull("Should have found the test object", test);
+        Object jndi = factory.getBean("jndi");
+        assertNotNull("Should have found the jndi object", jndi);
+
+        Hashtable env = new Hashtable();
+        env.put(Context.INITIAL_CONTEXT_FACTORY, SpringInitialContextFactory.class.getName());
+        InitialContext context = new InitialContext(env);
+        assertEntryExists(context, "test");
+        assertEntryExists(context, "test/restaurant");
+        assertSame(test, context.lookup("test/restaurant"));
+    }
+    
+    protected void assertEntryExists(InitialContext context, String name) throws NamingException {
+        Object value = context.lookup(name);
+        assertNotNull(name + " should not be null", value);
+    }
+
+}

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/java/org/apache/xbean/spring/jndi/JndiTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-attribute.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-attribute.xml?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-attribute.xml (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-attribute.xml Wed Oct  3 08:38:26 2012
@@ -1,24 +1,24 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<beans xmlns:b="http://xbean.apache.org/schemas/pizza">
-  
-  <b:beer id="123" unknown="Stella" />
-  
-</beans>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<beans xmlns:b="http://xbean.apache.org/schemas/pizza">
+  
+  <b:beer id="123" unknown="Stella" />
+  
+</beans>

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-attribute.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-element.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-element.xml?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-element.xml (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-element.xml Wed Oct  3 08:38:26 2012
@@ -1,24 +1,24 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<beans xmlns:b="http://xbean.apache.org/schemas/pizza">
-
-  <b:unknown id="123" name="Stella" />
-
-</beans>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<beans xmlns:b="http://xbean.apache.org/schemas/pizza">
+
+  <b:unknown id="123" name="Stella" />
+
+</beans>

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-element.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-namespace.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-namespace.xml?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-namespace.xml (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-namespace.xml Wed Oct  3 08:38:26 2012
@@ -1,24 +1,24 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<beans xmlns:b="http://bad-namespace">
-
-  <b:beer name="Stella" />
-
-</beans>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<beans xmlns:b="http://bad-namespace">
+
+  <b:beer name="Stella" />
+
+</beans>

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/bad-namespace.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/beer-normal.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/beer-xbean-ns.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/beer-xbean-ns.xml?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/beer-xbean-ns.xml (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/beer-xbean-ns.xml Wed Oct  3 08:38:26 2012
@@ -1,29 +1,29 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<!-- START SNIPPET: xml -->
-<beans xmlns:b="http://xbean.apache.org/schemas/pizza" 
-       xmlns:s="http://xbean.apache.org/schemas/spring/1.0"
-       xmlns="http://xbean.apache.org/schemas/pizza">
-
-  <beer b:id="123" id="beerService" name="Stella"/>
-
-</beans>
-<!-- END SNIPPET: xml -->
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<!-- START SNIPPET: xml -->
+<beans xmlns:b="http://xbean.apache.org/schemas/pizza" 
+       xmlns:s="http://xbean.apache.org/schemas/spring/1.0"
+       xmlns="http://xbean.apache.org/schemas/pizza">
+
+  <beer b:id="123" id="beerService" name="Stella"/>
+
+</beans>
+<!-- END SNIPPET: xml -->
+

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/beer-xbean-ns.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/beer-xbean-null.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/beer-xbean-null.xml?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/beer-xbean-null.xml (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/beer-xbean-null.xml Wed Oct  3 08:38:26 2012
@@ -1,29 +1,29 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<!-- START SNIPPET: xml -->
-<beans xmlns:b="http://xbean.apache.org/schemas/pizza" xmlns:s="http://xbean.apache.org/schemas/spring/1.0">
-
-  <b:beer s:id="beerService" id="123" name="Stella"/>
-
-  <b:beer s:id="beerService2" id="123" name="Blue Moon" source="#null"/>
-
-</beans>
-<!-- END SNIPPET: xml -->
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<!-- START SNIPPET: xml -->
+<beans xmlns:b="http://xbean.apache.org/schemas/pizza" xmlns:s="http://xbean.apache.org/schemas/spring/1.0">
+
+  <b:beer s:id="beerService" id="123" name="Stella"/>
+
+  <b:beer s:id="beerService2" id="123" name="Blue Moon" source="#null"/>
+
+</beans>
+<!-- END SNIPPET: xml -->
+

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/beer-xbean-null.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/beer-xbean-system-prop.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/beer-xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/component-spring.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/component-spring.xml?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/component-spring.xml (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/component-spring.xml Wed Oct  3 08:38:26 2012
@@ -1,28 +1,28 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<beans>
-  <bean id="container" class="org.apache.xbean.spring.example.ContainerBean">
-    <property name="beans">
-      <list>
-        <bean id="inner" class="org.apache.xbean.spring.example.InnerBean" />
-      </list>
-    </property>
-  </bean>
-</beans>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<beans>
+  <bean id="container" class="org.apache.xbean.spring.example.ContainerBean">
+    <property name="beans">
+      <list>
+        <bean id="inner" class="org.apache.xbean.spring.example.InnerBean" />
+      </list>
+    </property>
+  </bean>
+</beans>

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/component-spring.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/component-xbean.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/component-xbean.xml?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/component-xbean.xml (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/component-xbean.xml Wed Oct  3 08:38:26 2012
@@ -1,26 +1,26 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<beans xmlns:tns="http://xbean.apache.org/schemas/component">
-  <tns:container id="container">
-    <tns:beans>
-      <tns:inner id="inner" />
-    </tns:beans>
-  </tns:container>
-</beans>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<beans xmlns:tns="http://xbean.apache.org/schemas/component">
+  <tns:container id="container">
+    <tns:beans>
+      <tns:inner id="inner" />
+    </tns:beans>
+  </tns:container>
+</beans>

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/component-xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/favorite-xbean-mixed.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/flatmap-xbean.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/flatmap-xbean.xml?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/flatmap-xbean.xml (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/flatmap-xbean.xml Wed Oct  3 08:38:26 2012
@@ -1,34 +1,34 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<!-- START SNIPPET: xml -->
-<beans xmlns:b="http://xbean.apache.org/schemas/pizza" xmlns:s="http://xbean.apache.org/schemas/spring/1.0">
-
-  <b:flat-map s:id="flat-map">
-    <b:services>
-      <b:keg id="key1" remaining="1000 ml"/>
-      <b:keg id="key1" remaining="5 pints"/>
-      <b:keg id="key2" remaining="20 liter"/>
-      <b:keg remaining="0"/>
-    </b:services>
-  </b:flat-map>
-
-</beans>
-<!-- END SNIPPET: xml -->
-
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<!-- START SNIPPET: xml -->
+<beans xmlns:b="http://xbean.apache.org/schemas/pizza" xmlns:s="http://xbean.apache.org/schemas/spring/1.0">
+
+  <b:flat-map s:id="flat-map">
+    <b:services>
+      <b:keg id="key1" remaining="1000 ml"/>
+      <b:keg id="key1" remaining="5 pints"/>
+      <b:keg id="key2" remaining="20 liter"/>
+      <b:keg remaining="0"/>
+    </b:services>
+  </b:flat-map>
+
+</beans>
+<!-- END SNIPPET: xml -->
+

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/flatmap-xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/gin.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/keg-xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/pizza-normal.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/pizza-xbean-bean-ref.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/pizza-xbean-java.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/pizza-xbean-properties.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/pizza-xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/qname-normal.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/qname-normal.xml?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/qname-normal.xml (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/qname-normal.xml Wed Oct  3 08:38:26 2012
@@ -1,46 +1,46 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
-<beans>
-
-	<bean id="qnameService" class="org.apache.xbean.spring.example.QNameService">
-		<property name="services">
-			<list>
-				<bean class="javax.xml.namespace.QName">
-			        <constructor-arg value="urn:foo"/>
-			        <constructor-arg value="test"/>
-				</bean>
-				<bean class="javax.xml.namespace.QName">
-			        <constructor-arg value="urn:foo"/>
-			        <constructor-arg value="bar"/>
-				</bean>
-			</list>
-		</property>
-		<property name="list">
-			<list>
-				<bean class="javax.xml.namespace.QName">
-			        <constructor-arg value="urn:foo"/>
-			        <constructor-arg value="list"/>
-				</bean>
-			</list>
-		</property>
-	</bean>
-	
-</beans>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
+<beans>
+
+	<bean id="qnameService" class="org.apache.xbean.spring.example.QNameService">
+		<property name="services">
+			<list>
+				<bean class="javax.xml.namespace.QName">
+			        <constructor-arg value="urn:foo"/>
+			        <constructor-arg value="test"/>
+				</bean>
+				<bean class="javax.xml.namespace.QName">
+			        <constructor-arg value="urn:foo"/>
+			        <constructor-arg value="bar"/>
+				</bean>
+			</list>
+		</property>
+		<property name="list">
+			<list>
+				<bean class="javax.xml.namespace.QName">
+			        <constructor-arg value="urn:foo"/>
+			        <constructor-arg value="list"/>
+				</bean>
+			</list>
+		</property>
+	</bean>
+	
+</beans>

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/qname-normal.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/qname-xbean.xml
URL: http://svn.apache.org/viewvc/geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/qname-xbean.xml?rev=1393346&r1=1393345&r2=1393346&view=diff
==============================================================================
--- geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/qname-xbean.xml (original)
+++ geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/qname-xbean.xml Wed Oct  3 08:38:26 2012
@@ -1,33 +1,33 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
-    Licensed to the Apache Software Foundation (ASF) under one or more
-    contributor license agreements.  See the NOTICE file distributed with
-    this work for additional information regarding copyright ownership.
-    The ASF licenses this file to You under the Apache License, Version 2.0
-    (the "License"); you may not use this file except in compliance with
-    the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-    Unless required by applicable law or agreed to in writing, software
-    distributed under the License is distributed on an "AS IS" BASIS,
-    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-    See the License for the specific language governing permissions and
-    limitations under the License.
-
--->
-<beans xmlns:x="http://xbean.apache.org/schemas/pizza"
-	   xmlns:foo="urn:foo">
-
-	<x:qname-service id="qnameService">
-		<x:services>
-			<qname>foo:test</qname>
-			<qname>foo:bar</qname>
-		</x:services>
-		<x:list>
-			<qname>foo:list</qname>
-		</x:list>
-	</x:qname-service>
-	
-</beans>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<beans xmlns:x="http://xbean.apache.org/schemas/pizza"
+	   xmlns:foo="urn:foo">
+
+	<x:qname-service id="qnameService">
+		<x:services>
+			<qname>foo:test</qname>
+			<qname>foo:bar</qname>
+		</x:services>
+		<x:list>
+			<qname>foo:list</qname>
+		</x:list>
+	</x:qname-service>
+	
+</beans>

Propchange: geronimo/xbean/trunk/xbean-spring/src/test/resources/org/apache/xbean/spring/context/qname-xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native