Repository: incubator-freemarker Updated Branches: refs/heads/2.3-gae 0a8dcf1e7 -> 2890b2ecd
Added copyright comment to XML files Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/2890b2ec Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/2890b2ec Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/2890b2ec Branch: refs/heads/2.3-gae Commit: 2890b2ecdec65052bccbef0aaadfb11c7ece2a44 Parents: 0a8dcf1 Author: ddekany <[email protected]> Authored: Thu Dec 31 11:31:29 2015 +0100 Committer: ddekany <[email protected]> Committed: Thu Dec 31 11:31:29 2015 +0100 ---------------------------------------------------------------------- src/examples/ant/build.xml | 18 ++++++++++++++++++ src/examples/ant/src/xml/faq.xml | 18 ++++++++++++++++++ .../struts-webapp/WEB-INF/struts-config.xml | 18 ++++++++++++++++++ .../struts-webapp/WEB-INF/struts-html.tld | 18 ++++++++++++++++++ src/examples/struts-webapp/WEB-INF/web.xml | 18 ++++++++++++++++++ src/examples/webapp1/WEB-INF/web.xml | 18 ++++++++++++++++++ src/examples/webapp2/WEB-INF/web.xml | 18 ++++++++++++++++++ src/test/java/freemarker/test/servlet/web.xml | 18 ++++++++++++++++++ .../test/templatesuite/TemplateTestCase.java | 1 + src/test/resources/META-INF/malformed.tld | 18 ++++++++++++++++++ .../META-INF/tldDiscovery MetaInfTldSources-1.tld | 18 ++++++++++++++++++ .../ext/jsp/tldDiscovery-ClassPathTlds-1.tld | 18 ++++++++++++++++++ .../ext/jsp/tldDiscovery-ClassPathTlds-2.tld | 18 ++++++++++++++++++ .../jsp/webapps/basic/WEB-INF/el-functions.tld | 18 ++++++++++++++++++ .../ext/jsp/webapps/basic/WEB-INF/test.tld | 18 ++++++++++++++++++ .../ext/jsp/webapps/basic/WEB-INF/web.xml | 18 ++++++++++++++++++ .../ext/jsp/webapps/config/WEB-INF/web.xml | 18 ++++++++++++++++++ .../ext/jsp/webapps/errors/WEB-INF/web.xml | 18 ++++++++++++++++++ .../jsp/webapps/multipleLoaders/WEB-INF/web.xml | 18 ++++++++++++++++++ .../webapps/tldDiscovery/WEB-INF/fmtesttag 2.tld | 18 ++++++++++++++++++ .../webapps/tldDiscovery/WEB-INF/fmtesttag4.tld | 18 ++++++++++++++++++ .../WEB-INF/subdir-with-tld/fmtesttag3.tld | 18 ++++++++++++++++++ .../ext/jsp/webapps/tldDiscovery/WEB-INF/web.xml | 18 ++++++++++++++++++ .../tldDiscovery/not-auto-scanned/fmtesttag.tld | 18 ++++++++++++++++++ .../test/templatesuite/models/defaultxmlns1.xml | 18 ++++++++++++++++++ .../templatesuite/models/xml-ns_prefix-scope.xml | 18 ++++++++++++++++++ .../freemarker/test/templatesuite/models/xml.xml | 18 ++++++++++++++++++ .../test/templatesuite/models/xmlfragment.xml | 18 ++++++++++++++++++ .../test/templatesuite/models/xmlns.xml | 18 ++++++++++++++++++ .../test/templatesuite/models/xmlns2.xml | 18 ++++++++++++++++++ .../test/templatesuite/models/xmlns3.xml | 18 ++++++++++++++++++ .../freemarker/test/templatesuite/testcases.xml | 18 ++++++++++++++++++ src/test/resources/logback-test.xml | 18 ++++++++++++++++++ 33 files changed, 577 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/examples/ant/build.xml ---------------------------------------------------------------------- diff --git a/src/examples/ant/build.xml b/src/examples/ant/build.xml index cd7c43e..b60a2cb 100644 --- a/src/examples/ant/build.xml +++ b/src/examples/ant/build.xml @@ -1,3 +1,21 @@ +<!-- + 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. +--> <project name="FreeMarker-FAQ" default="generate" basedir="."> <taskdef name="freemarker" http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/examples/ant/src/xml/faq.xml ---------------------------------------------------------------------- diff --git a/src/examples/ant/src/xml/faq.xml b/src/examples/ant/src/xml/faq.xml index 880c1a6..d201a7f 100644 --- a/src/examples/ant/src/xml/faq.xml +++ b/src/examples/ant/src/xml/faq.xml @@ -1,4 +1,22 @@ <?xml version="1.0"?> +<!-- + 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. +--> <faq title="The Old FreeMarker FAQ" adminMailTo="[email protected]" adminName="Nicholas Cull"> <preface/> <topicgroup name="Assembling template data models"> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/examples/struts-webapp/WEB-INF/struts-config.xml ---------------------------------------------------------------------- diff --git a/src/examples/struts-webapp/WEB-INF/struts-config.xml b/src/examples/struts-webapp/WEB-INF/struts-config.xml index 7b7dbde..2a50399 100644 --- a/src/examples/struts-webapp/WEB-INF/struts-config.xml +++ b/src/examples/struts-webapp/WEB-INF/struts-config.xml @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- + 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 struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/examples/struts-webapp/WEB-INF/struts-html.tld ---------------------------------------------------------------------- diff --git a/src/examples/struts-webapp/WEB-INF/struts-html.tld b/src/examples/struts-webapp/WEB-INF/struts-html.tld index de26102..5586e4b 100644 --- a/src/examples/struts-webapp/WEB-INF/struts-html.tld +++ b/src/examples/struts-webapp/WEB-INF/struts-html.tld @@ -1,4 +1,22 @@ <?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. +--> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/examples/struts-webapp/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/src/examples/struts-webapp/WEB-INF/web.xml b/src/examples/struts-webapp/WEB-INF/web.xml index 85701d6..fa8e60b 100644 --- a/src/examples/struts-webapp/WEB-INF/web.xml +++ b/src/examples/struts-webapp/WEB-INF/web.xml @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + 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 web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/examples/webapp1/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/src/examples/webapp1/WEB-INF/web.xml b/src/examples/webapp1/WEB-INF/web.xml index c4008e8..aaecc63 100644 --- a/src/examples/webapp1/WEB-INF/web.xml +++ b/src/examples/webapp1/WEB-INF/web.xml @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + 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 web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/examples/webapp2/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/src/examples/webapp2/WEB-INF/web.xml b/src/examples/webapp2/WEB-INF/web.xml index fbf626f..91e8f3e 100644 --- a/src/examples/webapp2/WEB-INF/web.xml +++ b/src/examples/webapp2/WEB-INF/web.xml @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1"?> +<!-- + 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 web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/java/freemarker/test/servlet/web.xml ---------------------------------------------------------------------- diff --git a/src/test/java/freemarker/test/servlet/web.xml b/src/test/java/freemarker/test/servlet/web.xml index 7dea532..729979d 100644 --- a/src/test/java/freemarker/test/servlet/web.xml +++ b/src/test/java/freemarker/test/servlet/web.xml @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- + 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. +--> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/java/freemarker/test/templatesuite/TemplateTestCase.java ---------------------------------------------------------------------- diff --git a/src/test/java/freemarker/test/templatesuite/TemplateTestCase.java b/src/test/java/freemarker/test/templatesuite/TemplateTestCase.java index b44cf61..9ccf93f 100644 --- a/src/test/java/freemarker/test/templatesuite/TemplateTestCase.java +++ b/src/test/java/freemarker/test/templatesuite/TemplateTestCase.java @@ -345,6 +345,7 @@ public class TemplateTestCase extends FileTestCase { f.setNamespaceAware(true); DocumentBuilder db = f.newDocumentBuilder(); org.w3c.dom.Document doc = db.parse(new InputSource(getClass().getResourceAsStream("models/xmlfragment.xml"))); + NodeModel.simplify(doc); dataModel.put("node", NodeModel.wrap(doc.getDocumentElement().getFirstChild().getFirstChild())); } else if (simpleTestName.equals("xmlns1")) { InputSource is = new InputSource(getClass().getResourceAsStream("models/xmlns.xml")); http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/META-INF/malformed.tld ---------------------------------------------------------------------- diff --git a/src/test/resources/META-INF/malformed.tld b/src/test/resources/META-INF/malformed.tld index 99d1c0f..f30dac5 100644 --- a/src/test/resources/META-INF/malformed.tld +++ b/src/test/resources/META-INF/malformed.tld @@ -1,4 +1,22 @@ <?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. +--> <taglib xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1"> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/META-INF/tldDiscovery MetaInfTldSources-1.tld ---------------------------------------------------------------------- diff --git a/src/test/resources/META-INF/tldDiscovery MetaInfTldSources-1.tld b/src/test/resources/META-INF/tldDiscovery MetaInfTldSources-1.tld index 9f65d26..86c1682 100644 --- a/src/test/resources/META-INF/tldDiscovery MetaInfTldSources-1.tld +++ b/src/test/resources/META-INF/tldDiscovery MetaInfTldSources-1.tld @@ -1,4 +1,22 @@ <?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. +--> <taglib xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1"> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/ext/jsp/tldDiscovery-ClassPathTlds-1.tld ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/ext/jsp/tldDiscovery-ClassPathTlds-1.tld b/src/test/resources/freemarker/ext/jsp/tldDiscovery-ClassPathTlds-1.tld index 46032e7..4b30fd6 100644 --- a/src/test/resources/freemarker/ext/jsp/tldDiscovery-ClassPathTlds-1.tld +++ b/src/test/resources/freemarker/ext/jsp/tldDiscovery-ClassPathTlds-1.tld @@ -1,4 +1,22 @@ <?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. +--> <taglib xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1"> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/ext/jsp/tldDiscovery-ClassPathTlds-2.tld ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/ext/jsp/tldDiscovery-ClassPathTlds-2.tld b/src/test/resources/freemarker/ext/jsp/tldDiscovery-ClassPathTlds-2.tld index 990710a..553d924 100644 --- a/src/test/resources/freemarker/ext/jsp/tldDiscovery-ClassPathTlds-2.tld +++ b/src/test/resources/freemarker/ext/jsp/tldDiscovery-ClassPathTlds-2.tld @@ -1,4 +1,22 @@ <?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. +--> <taglib xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1"> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/el-functions.tld ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/el-functions.tld b/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/el-functions.tld index fad043c..5fc4ec2 100644 --- a/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/el-functions.tld +++ b/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/el-functions.tld @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- + 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. +--> <taglib xmlns="http://java.sun.com/xml/ns/javaee" version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"> <tlib-version>3.0</tlib-version> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/test.tld ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/test.tld b/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/test.tld index b7f01ea..034ccdc 100644 --- a/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/test.tld +++ b/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/test.tld @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- + 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. +--> <taglib xmlns="http://java.sun.com/xml/ns/javaee" version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"> <tlib-version>3.0</tlib-version> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/web.xml b/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/web.xml index c8562a3..40a63ce 100644 --- a/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/web.xml +++ b/src/test/resources/freemarker/ext/jsp/webapps/basic/WEB-INF/web.xml @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- + 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. +--> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/web.xml b/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/web.xml index 7c3e601..a8328b4 100644 --- a/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/web.xml +++ b/src/test/resources/freemarker/ext/jsp/webapps/config/WEB-INF/web.xml @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- + 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. +--> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/ext/jsp/webapps/errors/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/ext/jsp/webapps/errors/WEB-INF/web.xml b/src/test/resources/freemarker/ext/jsp/webapps/errors/WEB-INF/web.xml index ce78c3c..38f72ca 100644 --- a/src/test/resources/freemarker/ext/jsp/webapps/errors/WEB-INF/web.xml +++ b/src/test/resources/freemarker/ext/jsp/webapps/errors/WEB-INF/web.xml @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- + 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. +--> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/ext/jsp/webapps/multipleLoaders/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/ext/jsp/webapps/multipleLoaders/WEB-INF/web.xml b/src/test/resources/freemarker/ext/jsp/webapps/multipleLoaders/WEB-INF/web.xml index 0a3bcff..006e13e 100644 --- a/src/test/resources/freemarker/ext/jsp/webapps/multipleLoaders/WEB-INF/web.xml +++ b/src/test/resources/freemarker/ext/jsp/webapps/multipleLoaders/WEB-INF/web.xml @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- + 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. +--> <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/fmtesttag 2.tld ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/fmtesttag 2.tld b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/fmtesttag 2.tld index 3f0eedc..62d5504 100644 --- a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/fmtesttag 2.tld +++ b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/fmtesttag 2.tld @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- + 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 taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglib_1_1.dtd"> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/fmtesttag4.tld ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/fmtesttag4.tld b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/fmtesttag4.tld index 3f0eedc..62d5504 100644 --- a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/fmtesttag4.tld +++ b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/fmtesttag4.tld @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- + 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 taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglib_1_1.dtd"> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/subdir-with-tld/fmtesttag3.tld ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/subdir-with-tld/fmtesttag3.tld b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/subdir-with-tld/fmtesttag3.tld index 3506554..a108fa5 100644 --- a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/subdir-with-tld/fmtesttag3.tld +++ b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/subdir-with-tld/fmtesttag3.tld @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- + 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 taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglib_1_1.dtd"> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/web.xml ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/web.xml b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/web.xml index 82f7d34..0cb719e 100644 --- a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/web.xml +++ b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/WEB-INF/web.xml @@ -1,4 +1,22 @@ <?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 web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd" http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/not-auto-scanned/fmtesttag.tld ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/not-auto-scanned/fmtesttag.tld b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/not-auto-scanned/fmtesttag.tld index e4425b2..d58a2d1 100644 --- a/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/not-auto-scanned/fmtesttag.tld +++ b/src/test/resources/freemarker/ext/jsp/webapps/tldDiscovery/not-auto-scanned/fmtesttag.tld @@ -1,4 +1,22 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> +<!-- + 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. +--> <taglib xmlns="http://java.sun.com/xml/ns/javaee" version="2.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"> <tlib-version>3.0</tlib-version> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/test/templatesuite/models/defaultxmlns1.xml ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/test/templatesuite/models/defaultxmlns1.xml b/src/test/resources/freemarker/test/templatesuite/models/defaultxmlns1.xml index ea318a1..f555e3e 100644 --- a/src/test/resources/freemarker/test/templatesuite/models/defaultxmlns1.xml +++ b/src/test/resources/freemarker/test/templatesuite/models/defaultxmlns1.xml @@ -1,3 +1,21 @@ +<!-- + 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. +--> <root xmlns:x="http://x.com" xmlns:y="http://y.com"> <t1>No NS</t1> <x:t2>x NS</x:t2> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/test/templatesuite/models/xml-ns_prefix-scope.xml ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/test/templatesuite/models/xml-ns_prefix-scope.xml b/src/test/resources/freemarker/test/templatesuite/models/xml-ns_prefix-scope.xml index 6f3ca67..13cf78c 100644 --- a/src/test/resources/freemarker/test/templatesuite/models/xml-ns_prefix-scope.xml +++ b/src/test/resources/freemarker/test/templatesuite/models/xml-ns_prefix-scope.xml @@ -1,4 +1,22 @@ <?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. +--> <root xmlns="http://freemarker.org/test/namespace-test" xmlns:foo="http://freemarker.org/test/foo" xmlns:bar="http://freemarker.org/test/bar"> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/test/templatesuite/models/xml.xml ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/test/templatesuite/models/xml.xml b/src/test/resources/freemarker/test/templatesuite/models/xml.xml index 522e1e7..25a2893 100644 --- a/src/test/resources/freemarker/test/templatesuite/models/xml.xml +++ b/src/test/resources/freemarker/test/templatesuite/models/xml.xml @@ -1,4 +1,22 @@ <?xml version="1.0"?> +<!-- + 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. +--> <?firstPi customKey="something"?> <?secondPi secondPiData?> <ns1:root xmlns:ns1="http://www.foo.com/ns1/"> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/test/templatesuite/models/xmlfragment.xml ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/test/templatesuite/models/xmlfragment.xml b/src/test/resources/freemarker/test/templatesuite/models/xmlfragment.xml index e897553..9a8e476 100644 --- a/src/test/resources/freemarker/test/templatesuite/models/xmlfragment.xml +++ b/src/test/resources/freemarker/test/templatesuite/models/xmlfragment.xml @@ -1 +1,19 @@ +<!-- + 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. +--> <root><a><b><c xmlns="http://x">C<>&"']]></c></b></a></root> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/test/templatesuite/models/xmlns.xml ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/test/templatesuite/models/xmlns.xml b/src/test/resources/freemarker/test/templatesuite/models/xmlns.xml index d2c6419..ca07080 100644 --- a/src/test/resources/freemarker/test/templatesuite/models/xmlns.xml +++ b/src/test/resources/freemarker/test/templatesuite/models/xmlns.xml @@ -1,3 +1,21 @@ +<!-- + 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. +--> <book xmlns="http://example.com/eBook"> <title>Test Book</title> <chapter> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/test/templatesuite/models/xmlns2.xml ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/test/templatesuite/models/xmlns2.xml b/src/test/resources/freemarker/test/templatesuite/models/xmlns2.xml index ae984ac..6e177b4 100644 --- a/src/test/resources/freemarker/test/templatesuite/models/xmlns2.xml +++ b/src/test/resources/freemarker/test/templatesuite/models/xmlns2.xml @@ -1,3 +1,21 @@ +<!-- + 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. +--> <eb:book xmlns:eb="http://example.com/eBook"> <eb:title>Test Book</eb:title> <eb:chapter> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/test/templatesuite/models/xmlns3.xml ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/test/templatesuite/models/xmlns3.xml b/src/test/resources/freemarker/test/templatesuite/models/xmlns3.xml index 9dd2f0b..1aaa8ca 100644 --- a/src/test/resources/freemarker/test/templatesuite/models/xmlns3.xml +++ b/src/test/resources/freemarker/test/templatesuite/models/xmlns3.xml @@ -1,3 +1,21 @@ +<!-- + 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. +--> <book xmlns:x="http://x" xmlns:y="http://y"> <x:title>Test Book</x:title> <chapter> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/freemarker/test/templatesuite/testcases.xml ---------------------------------------------------------------------- diff --git a/src/test/resources/freemarker/test/templatesuite/testcases.xml b/src/test/resources/freemarker/test/templatesuite/testcases.xml index 4a6e539..cc42796 100644 --- a/src/test/resources/freemarker/test/templatesuite/testcases.xml +++ b/src/test/resources/freemarker/test/templatesuite/testcases.xml @@ -1,4 +1,22 @@ <?xml version="1.0" ?> +<!-- + 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 testcases [ <!ELEMENT testCases (setting?, testCase*)> http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/2890b2ec/src/test/resources/logback-test.xml ---------------------------------------------------------------------- diff --git a/src/test/resources/logback-test.xml b/src/test/resources/logback-test.xml index 8904deb..243c3de 100644 --- a/src/test/resources/logback-test.xml +++ b/src/test/resources/logback-test.xml @@ -1,4 +1,22 @@ <?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. +--> <configuration> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
