This is an automated email from the ASF dual-hosted git repository.

skygo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 3197f5ffe add xsd linked from apidoc
     new e1d56ee0e Merge pull request #604 from ebarboni/dtdnsapidoc
3197f5ffe is described below

commit 3197f5ffe8d50be58a16308f0fd738ac1e36ee29
Author: Eric Barboni <sk...@apache.org>
AuthorDate: Tue Aug 9 11:42:34 2022 +0200

    add xsd linked from apidoc
---
 netbeans.apache.org/src/content/dtds/README.txt    |  4 +-
 .../src/content/ns/ant-project-libraries/1.xsd     | 52 +++++++++++++++
 .../src/content/ns/j2se-project/1.xsd              | 52 +++++++++++++++
 .../src/content/ns/j2se-project/2.xsd              | 76 ++++++++++++++++++++++
 4 files changed, 182 insertions(+), 2 deletions(-)

diff --git a/netbeans.apache.org/src/content/dtds/README.txt 
b/netbeans.apache.org/src/content/dtds/README.txt
index b0f6d11d6..a61dcfb9c 100644
--- a/netbeans.apache.org/src/content/dtds/README.txt
+++ b/netbeans.apache.org/src/content/dtds/README.txt
@@ -8,7 +8,7 @@
    (just increment its number). This will help avoid confusion and
    possible parse errors.
 
-3. See <http://openide.netbeans.org/versioning-policy.html#dtds> for
+3. See 
<https://netbeans.apache.org/wiki/VersioningPolicy#XML_DTDs_and_Schemas> for
    further hints.
 
-Comments, questions to nb...@netbeans.org. -jglick
+Comments, questions to d...@apache.netbeans.org. -jglick
diff --git a/netbeans.apache.org/src/content/ns/ant-project-libraries/1.xsd 
b/netbeans.apache.org/src/content/ns/ant-project-libraries/1.xsd
new file mode 100644
index 000000000..870315dfe
--- /dev/null
+++ b/netbeans.apache.org/src/content/ns/ant-project-libraries/1.xsd
@@ -0,0 +1,52 @@
+<?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.
+
+-->
+<!--
+Schema for references to versionable library descriptors. See #44035.
+Since: org.netbeans.modules.project.ant/1 1.18
+Include as a fragment in an nbproject/project.xml file.
+Content of a <definitions> element is a relative path to a properties file.
+('/'- or '\'-separated but NOT in URI syntax, e.g. do not encode spaces as 
%20.)
+The path is resolved against the project's base directory.
+The property values that are recognized are of the form libs.NAME.KEY
+where NAME is the (internal) name of a library,
+and KEY is one of the following (refer to 
http://www.netbeans.org/dtds/library-declaration-1_0.dtd for comparisons):
+1. 'type' - e.g. 'j2me', as in <library>/<type>; default is 'j2se'
+2. 'name' - e.g. 'My Library', as in <name> (localizing bundles not 
supported); default is internal name
+3. 'description' - e.g. 'Some library of mine.', as in <description>; default 
is null
+4. 'classpath', 'src', 'javadoc', etc. - according to the <volume>/<type>, as 
in $userdir/build.properties
+Volume-typed values should be paths (separated with ':' or ';') of file or 
folder names (usually relative).
+The special token '${base}' may be used to refer to the directory in which the 
properties file resides.
+For a definitions file PATH.properties, there may also be a file 
PATH-private.properties
+which can override or supplement its definitions (typically with absolute 
filenames).
+-->
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+            
targetNamespace="http://www.netbeans.org/ns/ant-project-libraries/1";
+            xmlns="http://www.netbeans.org/ns/ant-project-libraries/1";
+            elementFormDefault="qualified">
+    <xsd:element name="libraries">
+        <xsd:complexType>
+            <xsd:sequence>
+                <xsd:element name="definitions" minOccurs="0" maxOccurs="1" 
type="xsd:string"/>
+            </xsd:sequence>
+        </xsd:complexType>
+    </xsd:element>
+</xsd:schema>
diff --git a/netbeans.apache.org/src/content/ns/j2se-project/1.xsd 
b/netbeans.apache.org/src/content/ns/j2se-project/1.xsd
new file mode 100644
index 000000000..a51526083
--- /dev/null
+++ b/netbeans.apache.org/src/content/ns/j2se-project/1.xsd
@@ -0,0 +1,52 @@
+<?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.
+
+-->
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+            targetNamespace="http://www.netbeans.org/ns/j2se-project/1";
+            xmlns="http://www.netbeans.org/ns/j2se-project/1";
+            elementFormDefault="qualified">
+    <xsd:element name="data">
+        <xsd:complexType>
+            <xsd:sequence>
+                <xsd:element name="name" type="xsd:token"/>
+                <xsd:element name="minimum-ant-version" minOccurs="0">
+                    <xsd:simpleType>
+                        <xsd:restriction base="xsd:NMTOKEN">
+                            <xsd:enumeration value="1.6"/>
+                        </xsd:restriction>
+                    </xsd:simpleType>
+                </xsd:element>
+                <xsd:element name="explicit-platform" minOccurs="0">
+                    <xsd:complexType>
+                        <xsd:attribute name="explicit-source-supported" 
use="required">
+                            <xsd:simpleType>
+                                <xsd:restriction base="xsd:NMTOKEN">
+                                    <xsd:enumeration value="true"/>
+                                    <xsd:enumeration value="false"/>
+                                </xsd:restriction>
+                            </xsd:simpleType>
+                        </xsd:attribute>
+                    </xsd:complexType>
+                </xsd:element>
+            </xsd:sequence>
+        </xsd:complexType>
+    </xsd:element>
+</xsd:schema>
diff --git a/netbeans.apache.org/src/content/ns/j2se-project/2.xsd 
b/netbeans.apache.org/src/content/ns/j2se-project/2.xsd
new file mode 100644
index 000000000..d565c50ca
--- /dev/null
+++ b/netbeans.apache.org/src/content/ns/j2se-project/2.xsd
@@ -0,0 +1,76 @@
+<?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.
+
+-->
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
+            targetNamespace="http://www.netbeans.org/ns/j2se-project/2";
+            xmlns="http://www.netbeans.org/ns/j2se-project/2";
+            elementFormDefault="qualified">
+    <xsd:element name="data">
+        <xsd:complexType>
+            <xsd:sequence>
+                <xsd:element name="name" type="xsd:token"/>
+                <xsd:element name="minimum-ant-version" minOccurs="0">
+                    <xsd:simpleType>
+                        <xsd:restriction base="xsd:NMTOKEN">
+                            <xsd:enumeration value="1.6"/>
+                        </xsd:restriction>
+                    </xsd:simpleType>
+                </xsd:element>
+                <xsd:element name="explicit-platform" minOccurs="0">
+                    <xsd:complexType>
+                        <xsd:attribute name="explicit-source-supported" 
use="required">
+                            <xsd:simpleType>
+                                <xsd:restriction base="xsd:NMTOKEN">
+                                    <xsd:enumeration value="true"/>
+                                    <xsd:enumeration value="false"/>
+                                </xsd:restriction>
+                            </xsd:simpleType>
+                        </xsd:attribute>
+                    </xsd:complexType>
+                </xsd:element>
+                <xsd:element name="source-roots">
+                    <xsd:complexType>
+                        <xsd:sequence>
+                            <xsd:element name="root" minOccurs="0" 
maxOccurs="unbounded">
+                                <xsd:complexType>
+                                    <xsd:attribute name="id" use="required" 
type="xsd:token"/>
+                                    <xsd:attribute name="name" use="optional" 
type="xsd:token"/>
+                                </xsd:complexType>
+                            </xsd:element>
+                        </xsd:sequence>
+                    </xsd:complexType>
+                </xsd:element>
+                <xsd:element name="test-roots">
+                    <xsd:complexType>
+                        <xsd:sequence>
+                            <xsd:element name="root" minOccurs="0" 
maxOccurs="unbounded">
+                                <xsd:complexType>
+                                    <xsd:attribute name="id" use="required" 
type="xsd:token"/>
+                                    <xsd:attribute name="name" use="optional" 
type="xsd:token"/>
+                                </xsd:complexType>
+                            </xsd:element>
+                        </xsd:sequence>
+                    </xsd:complexType>
+                </xsd:element>
+            </xsd:sequence>
+        </xsd:complexType>
+    </xsd:element>
+</xsd:schema>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to