Re: RFR(JDK 12/java.xml) 8212866: Broken link to schematron.com

2018-10-26 Thread Joe Wang

Thanks Lance!

On 10/26/18, 12:27 PM, Lance Andersen wrote:

looks OK Joe

On Oct 26, 2018, at 3:24 PM, Joe Wang > wrote:


Hi,

Looks like schematron.com  is gone. Tested 
since the issue was reported 3 days ago, each time got a database 
connection error. Schematron became an ISO standard later after the 
JAXP specification and this packageinfo page was written, so 
replacing the link to schematron.com  with a 
pointer to the ISO page. There's no landing page on iso.org 
, the link is a direct download of the standard.


Please review:

diff --git 
a/src/java.xml/share/classes/javax/xml/validation/package-info.java 
b/src/java.xml/share/classes/javax/xml/validation/package-info.java

--- a/src/java.xml/share/classes/javax/xml/validation/package-info.java
+++ b/src/java.xml/share/classes/javax/xml/validation/package-info.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All 
rights reserved.
+ * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All 
rights reserved.

 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * This code is free software; you can redistribute it and/or modify it
@@ -53,13 +53,13 @@
 * and an http://www.iso.org";>ISO (International 
Organization

 * for Standardization) standard.
 * 
- * href="http://www.schematron.com/";>Schematron -
+ * href="http://standards.iso.org/ittf/PubliclyAvailableStandards/c055982_ISO_IEC_19757-3_2016.zip";>Schematron 
-
 * a rules-based XML schema language. Whereas DTD, WXS, and 
RNG are designed
 * to express the structure of a content model, Schematron is 
designed to
 * enforce individual rules that are difficult or impossible 
to express
 * with other schema languages. Schematron is intended to 
supplement a
 * schema written in structural schema language such as the 
aforementioned.

- * Schematron is in the process of becoming an ISO standard.
+ * Schematron is href="http://standards.iso.org/ittf/PubliclyAvailableStandards/index.html";>an 
ISO standard.

 * 
 * 
 * 


Thanks,
Joe







Lance 
Andersen| Principal Member of Technical Staff | +1.781.442.2037

Oracle Java Engineering
1 Network Drive
Burlington, MA 01803
lance.ander...@oracle.com 





Re: RFR(JDK 12/java.xml) 8212866: Broken link to schematron.com

2018-10-26 Thread Lance Andersen
looks OK Joe

> On Oct 26, 2018, at 3:24 PM, Joe Wang  wrote:
> 
> Hi,
> 
> Looks like schematron.com is gone. Tested since the issue was reported 3 days 
> ago, each time got a database connection error. Schematron became an ISO 
> standard later after the JAXP specification and this packageinfo page was 
> written, so replacing the link to schematron.com with a pointer to the ISO 
> page. There's no landing page on iso.org, the link is a direct download of 
> the standard.
> 
> Please review:
> 
> diff --git 
> a/src/java.xml/share/classes/javax/xml/validation/package-info.java 
> b/src/java.xml/share/classes/javax/xml/validation/package-info.java
> --- a/src/java.xml/share/classes/javax/xml/validation/package-info.java
> +++ b/src/java.xml/share/classes/javax/xml/validation/package-info.java
> @@ -1,5 +1,5 @@
> /*
> - * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights 
> reserved.
> + * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights 
> reserved.
>  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
>  *
>  * This code is free software; you can redistribute it and/or modify it
> @@ -53,13 +53,13 @@
>  * and an http://www.iso.org";>ISO (International Organization
>  * for Standardization) standard.
>  * 
> - * http://www.schematron.com/";>Schematron -
> + *  href="http://standards.iso.org/ittf/PubliclyAvailableStandards/c055982_ISO_IEC_19757-3_2016.zip";>Schematron
>  -
>  * a rules-based XML schema language. Whereas DTD, WXS, and RNG are 
> designed
>  * to express the structure of a content model, Schematron is 
> designed to
>  * enforce individual rules that are difficult or impossible to 
> express
>  * with other schema languages. Schematron is intended to supplement a
>  * schema written in structural schema language such as the 
> aforementioned.
> - * Schematron is in the process of becoming an ISO standard.
> + * Schematron is  href="http://standards.iso.org/ittf/PubliclyAvailableStandards/index.html";>an 
> ISO standard.
>  * 
>  * 
>  * 
> 
> 
> Thanks,
> Joe
> 
> 
> 

 
  

 Lance Andersen| 
Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
lance.ander...@oracle.com 





RFR(JDK 12/java.xml) 8212866: Broken link to schematron.com

2018-10-26 Thread Joe Wang

Hi,

Looks like schematron.com is gone. Tested since the issue was reported 3 
days ago, each time got a database connection error. Schematron became 
an ISO standard later after the JAXP specification and this packageinfo 
page was written, so replacing the link to schematron.com with a pointer 
to the ISO page. There's no landing page on iso.org, the link is a 
direct download of the standard.


Please review:

diff --git 
a/src/java.xml/share/classes/javax/xml/validation/package-info.java 
b/src/java.xml/share/classes/javax/xml/validation/package-info.java

--- a/src/java.xml/share/classes/javax/xml/validation/package-info.java
+++ b/src/java.xml/share/classes/javax/xml/validation/package-info.java
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights 
reserved.
+ * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights 
reserved.

  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -53,13 +53,13 @@
  * and an http://www.iso.org";>ISO (International 
Organization

  * for Standardization) standard.
  * 
- * href="http://www.schematron.com/";>Schematron -
+ * href="http://standards.iso.org/ittf/PubliclyAvailableStandards/c055982_ISO_IEC_19757-3_2016.zip";>Schematron 
-
  * a rules-based XML schema language. Whereas DTD, WXS, and 
RNG are designed
  * to express the structure of a content model, Schematron is 
designed to
  * enforce individual rules that are difficult or impossible 
to express
  * with other schema languages. Schematron is intended to 
supplement a
  * schema written in structural schema language such as the 
aforementioned.

- * Schematron is in the process of becoming an ISO standard.
+ * Schematron is href="http://standards.iso.org/ittf/PubliclyAvailableStandards/index.html";>an 
ISO standard.

  * 
  * 
  * 


Thanks,
Joe