[xml/sgml-pkgs] Bug#367129: Namespace lost during schema validation

Andre Naujoks nautsch2 at gmail.com
Mon Feb 20 14:09:37 UTC 2017


Hi.

This bug still seems to be valid. (or is valid again?)

The upstream bug is still in stage "NEW".

Attached is a far simpler example, which triggers the bug.

"bugged.xsd" is a schema, that should validate "test.xml", but does not.
"workaround.xsd" is an equivalent schema, which does validate the
"test.xml" file.

It seems people either do not design their schemas the "bugged" way.

If anyone is interested, the schema that triggered this bug for me in
the first place is this one: http://www.omg.org/spec/XMI/20131001/XMI.xsd

Regards
  Andre
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bugged.xsd
Type: application/xml
Size: 337 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20170220/837afac3/attachment.xsd>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.xml
Type: text/xml
Size: 60 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20170220/837afac3/attachment.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: workaround.xsd
Type: application/xml
Size: 366 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20170220/837afac3/attachment-0001.xsd>


More information about the debian-xml-sgml-pkgs mailing list