Doc #79391 [ReO->Csd]: Dom validate schema does not support XML Schema 1.1

From: Date: Fri, 23 Oct 2020 13:02:10 +0000
Subject: Doc #79391 [ReO->Csd]: Dom validate schema does not support XML Schema 1.1
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18028@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79391&edit=1

 ID:                 79391
 Updated by:         phpdocbot@php.net
 Reported by:        joao dot rebelo at pchouse dot pt
 Summary:            Dom validate schema does not support XML Schema 1.1
-Status:             Re-Opened
+Status:             Closed
 Type:               Documentation Problem
 Package:            DOM XML related
 Operating System:   Windows
 PHP Version:        Irrelevant
 Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=ea90b5fa48ce2f8d3126d4230b4b84afedaafd87
Log: Fix #79391: Dom validate schema does not support XML Schema 1.1


Previous Comments:
------------------------------------------------------------------------
[2020-06-06 11:28:22] cmb@php.net

Thanks for the follow-up!

I think this "detail" should be documented.

------------------------------------------------------------------------
[2020-06-05 16:45:01] joao dot rebelo at pchouse dot pt

The issue is from libxml2, response:

https://gitlab.gnome.org/GNOME/libxml2/-/issues/162#note_829986

<xs:assert> is an XML Schema 1.1 feature. libxml2 only supports XML Schema 1.0.

------------------------------------------------------------------------
[2020-04-02 11:28:10] cmb@php.net

Thanks for providing the XSD and the example!

I can confirm the reported behavior; I'm not sure about the cause.
There *might* be a bug in libxml2.

------------------------------------------------------------------------
[2020-03-18 12:09:38] joao dot rebelo at pchouse dot pt

About;
Isn't that supposed to be <xs:assertion>?

I think not the xsd file is from the Portuguese Tax Authotity and works fine in Java app.

The link of the xsd file is:
http://info.portaldasfinancas.gov.pt/apps/saft-pt04/saftpt1.04_01.xsd


And a xml example file is here:
https://info.portaldasfinancas.gov.pt/apps/saft-pt01/local/saft_idemo599999999.xml

------------------------------------------------------------------------
[2020-03-18 11:46:57] cmb@php.net

Isn't that supposed to be <xs:assertion>?

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=79391


--
Edit this bug report at https://bugs.php.net/bug.php?id=79391&edit=1


Thread (2 messages)

« previous php.doc.bugs (#18028) next »