diff --git a/LICENSE b/LICENSE index 3dab946..8586d12 100644 --- a/LICENSE +++ b/LICENSE @@ -1,20 +1,5 @@ +This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication +license. Its contents can be found at: -Copyright (c) 2010-2011, Jim Teeuwen. -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +http://creativecommons.org/publicdomain/zero/1.0/ and +http://creativecommons.org/publicdomain/zero/1.0/legalcode diff --git a/Makefile b/Makefile index 75cb143..158d2e6 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,7 @@ +# This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication +# license. Its contents can be found at: +# http://creativecommons.org/publicdomain/zero/1.0/ + include $(GOROOT)/src/Make.inc TARG = github.com/jteeuwen/go-pkg-xmlx diff --git a/README b/README index 49afb6c..abda3ae 100644 --- a/README +++ b/README @@ -97,9 +97,3 @@ This makes node searches easier in case you do not care what namespace name there is or if there is one at all. -================================================================================ - LICENSE -================================================================================ - -This code is subject to a 1-clause BSD license. -It's contents can be found in the LICENSE file. diff --git a/document.go b/document.go index 72910d3..1a95ec8 100644 --- a/document.go +++ b/document.go @@ -1,6 +1,6 @@ -// Copyright (c) 2010, Jim Teeuwen. All rights reserved. -// This code is subject to a 1-clause BSD license. -// The contents of which can be found in the LICENSE file. +// This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication +// license. Its contents can be found at: +// http://creativecommons.org/publicdomain/zero/1.0/ /* This package wraps the standard XML library and uses it to build a node tree of diff --git a/entitymap.go b/entitymap.go index 8c86fca..c70b9ea 100644 --- a/entitymap.go +++ b/entitymap.go @@ -1,6 +1,7 @@ -// Copyright (c) 2010, Jim Teeuwen. All rights reserved. -// This code is subject to a 1-clause BSD license. -// The contents of which can be found in the LICENSE file. +// This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication +// license. Its contents can be found at: +// http://creativecommons.org/publicdomain/zero/1.0/ + package xmlx /* diff --git a/node.go b/node.go index 90b25a6..07c49d7 100644 --- a/node.go +++ b/node.go @@ -1,10 +1,6 @@ -/* -Copyright (c) 2010, Jim Teeuwen. -All rights reserved. - -This code is subject to a 1-clause BSD license. -The contents of which can be found in the LICENSE file. -*/ +// This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication +// license. Its contents can be found at: +// http://creativecommons.org/publicdomain/zero/1.0/ package xmlx diff --git a/test1.xml b/test1.xml new file mode 100644 index 0000000..8a70e87 --- /dev/null +++ b/test1.xml @@ -0,0 +1 @@ +WriteTheWebhttp://writetheweb.comNews for web users that write backen-usCopyright 2000, WriteTheWeb team.editor@writetheweb.comwebmaster@writetheweb.comWriteTheWebhttp://writetheweb.com/images/mynetscape88.gifhttp://writetheweb.com8831News for web users that write backGiving the world a pluggable Gnutellahttp://writetheweb.com/read.php?item=24WorldOS is a framework on which to build programs that work like Freenet or Gnutella -allowing distributed applications using peer-to-peer routing.Syndication discussions hot uphttp://writetheweb.com/read.php?item=23After a period of dormancy, the Syndication mailing list has become active again, with contributions from leaders in traditional media and Web syndication.Personal web server integrates file sharing and messaginghttp://writetheweb.com/read.php?item=22The Magi Project is an innovative project to create a combined personal web server and messaging system that enables the sharing and synchronization of information across desktop, laptop and palmtop devices.Syndication and Metadatahttp://writetheweb.com/read.php?item=21RSS is probably the best known metadata format around. RDF is probably one of the least understood. In this essay, published on my O'Reilly Network weblog, I argue that the next generation of RSS should be based on RDF.UK bloggers get organisedhttp://writetheweb.com/read.php?item=20Looks like the weblogs scene is gathering pace beyond the shores of the US. There's now a UK-specific page on weblogs.com, and a mailing list at egroups.Yournamehere.com more important than anythinghttp://writetheweb.com/read.php?item=19Whatever you're publishing on the web, your site name is the most valuable asset you have, according to Carl Steadman. \ No newline at end of file diff --git a/xmlx_test.go b/xmlx_test.go index 6a37183..21538c5 100644 --- a/xmlx_test.go +++ b/xmlx_test.go @@ -1,10 +1,6 @@ -/* -Copyright (c) 2010, Jim Teeuwen. -All rights reserved. - -This code is subject to a 1-clause BSD license. -The contents of which can be found in the LICENSE file. -*/ +// This work is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication +// license. Its contents can be found at: +// http://creativecommons.org/publicdomain/zero/1.0/ package xmlx