diff options
Diffstat (limited to 'lib/sisu/v0/relaxng.rb')
-rw-r--r-- | lib/sisu/v0/relaxng.rb | 159 |
1 files changed, 88 insertions, 71 deletions
diff --git a/lib/sisu/v0/relaxng.rb b/lib/sisu/v0/relaxng.rb index cb79773d..c805e733 100644 --- a/lib/sisu/v0/relaxng.rb +++ b/lib/sisu/v0/relaxng.rb @@ -1,102 +1,119 @@ =begin - * Name: SiSU information Structuring Universe - Structured information, Serialized Units + + * Name: SiSU + + * Description: a framework for document structuring, publishing and search + * Author: Ralph Amissah - * http://www.jus.uio.no/sisu - * http://www.jus.uio.no/sisu/SiSU/download.html - * Description: relaxng flow/logic + * Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, + 2007 Ralph Amissah All Rights Reserved. - * Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Ralph Amissah + * License: GPL 3 or later: - * License: GPL 2 or later + SiSU, a framework for document structuring, publishing and search - Summary of GPL 2 + Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, + 2007 Ralph Amissah - This program is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the Free - Software Foundation; either version 2 of the License, or (at your option) - any later version. + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation, either version 3 of the License, or (at your option) + any later version. - This program is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - more details. + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + You should have received a copy of the GNU General Public License along with + this program. If not, see <http://www.gnu.org/licenses/>. - If you have Internet connection, the latest version of the GPL should be - available at these locations: - http://www.fsf.org/licenses/gpl.html - http://www.gnu.org/copyleft/gpl.html - http://www.jus.uio.no/sisu/gpl2.fsf + If you have Internet connection, the latest version of the GPL should be + available at these locations: + <http://www.fsf.org/licenses/gpl.html> + <http://www.gnu.org/copyleft/gpl.html> + <http://www.jus.uio.no/sisu/gpl.fsf> - SiSU was first released to the public on January 4th 2005 + * SiSU uses: + * Standard SiSU markup syntax, + * Standard SiSU meta-markup syntax, and the + * Standard SiSU object citation numbering and system - SiSU uses: + * Hompages: + <http://www.jus.uio.no/sisu> + <http://www.sisudoc.org> - * Standard SiSU markup syntax, - * Standard SiSU meta-markup syntax, and the - * Standard SiSU object citation numbering and system + * Download: + <http://www.jus.uio.no/sisu/SiSU/download.html> - © Ralph Amissah 1997, current 2007. - All Rights Reserved. + * Ralph Amissah + <ralph@amissah.com> + <ralph.amissah@gmail.com> + + ** Description: relaxng flow/logic - * Ralph Amissah: ralph@amissah.com - ralph.amissah@gmail.com =end module SiSU_relaxng require "#{SiSU_lib}/sysenv" class RelaxNG - def gpl2_or_later - @gpl2_or_later =<<RELAXNG - # Name: SiSU information Structuring Universe - Structured information, Serialized Units - # Author: Ralph Amissah - # http://www.jus.uio.no/sisu - # http://www.jus.uio.no/sisu/SiSU/download.html + def gpl3_or_later + @gpl3_or_later =<<RELAXNG +=begin + + * Name: SiSU generated relaxng - # Description: sisu object models in relaxNG + * Description: generated relaxng for SiSU + (SiSU is a framework for document structuring, publishing and search) - # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Ralph Amissah + * Author: Ralph Amissah + + * Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, + 2007 Ralph Amissah All Rights Reserved. + + * License: GPL 3 or later: - # License: GPL 2 or later + SiSU, a framework for document structuring, publishing and search - # Summary of GPL 2 + Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, + 2007 Ralph Amissah - # This program is free software; you can redistribute it and/or modify it - # under the terms of the GNU General Public License as published by the Free - # Software Foundation; either version 2 of the License, or (at your option) - # any later version. + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation, either version 3 of the License, or (at your option) + any later version. - # This program is distributed in the hope that it will be useful, but WITHOUT - # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - # more details. + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. - # You should have received a copy of the GNU General Public License along - # with this program; if not, write to the Free Software Foundation, Inc., - # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + You should have received a copy of the GNU General Public License along with + this program. If not, see <http://www.gnu.org/licenses/>. - # If you have Internet connection, the latest version of the GPL should be - # available at these locations: - # http://www.fsf.org/licenses/gpl.html - # http://www.gnu.org/copyleft/gpl.html - # http://www.jus.uio.no/sisu/gpl2.fsf + If you have Internet connection, the latest version of the GPL should be + available at these locations: + <http://www.fsf.org/licenses/gpl.html> + <http://www.gnu.org/copyleft/gpl.html> + <http://www.jus.uio.no/sisu/gpl.fsf> - # SiSU was first released to the public on January 4th 2005 + * SiSU uses: + * Standard SiSU markup syntax, + * Standard SiSU meta-markup syntax, and the + * Standard SiSU object citation numbering and system - # SiSU uses: - # - # Standard SiSU markup syntax, - # Standard SiSU meta-markup syntax, and the - # Standard SiSU object citation numbering and system - # - # © Ralph Amissah 1997, current 2007. - # All Rights Reserved. + * Hompages: + <http://www.jus.uio.no/sisu> + <http://www.sisudoc.org> - # Ralph Amissah: ralph@amissah.com - # ralph.amissah@gmail.com + * Download: + <http://www.jus.uio.no/sisu/SiSU/download.html> + + * Ralph Amissah + <ralph@amissah.com> + <ralph.amissah@gmail.com> + +=end RELAXNG end def rnc_name @@ -177,7 +194,7 @@ RELAXNG def rnc_sisu_object_input @relaxng =<<RELAXNG #%% sisu object model: input -#{gpl2_or_later} +#{gpl3_or_later} #%% definitions # dublin core: element-semantic = @@ -322,7 +339,7 @@ RELAXNG def rnc_sisu_object_dal @relaxng =<<RELAXNG #%% sisu object model: dal -#{gpl2_or_later} +#{gpl3_or_later} #%% definitions # dublin core: element-semantic = |