xsi:schemaLocation

"Fritsch, Michael" <[email protected]> Mon, 18 May 2020 12:08:30 +0000
Newsgroups gmane.text.docbook.misc
Message-ID <[email protected]>
Hello,

I'm not sure if this is a problem with DocBook or the parser from IntelliJ Idea, which I use as the editing application.
I define topic elements or assembly elements as follows:

<assembly xmlns="http://docbook.org/ns/docbook"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://docbook.org/ns/docbook https://docbook.org/xml/5.1/rng/assembly.rnc ">

Or


<topic xmlns="http://docbook.org/ns/docbook"
       version="5.1"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://docbook.org/ns/docbook https://docbook.org/xml/5.1/rng/docbookxi.rnc"
       xml:id="ConfigureHeadlessServer">

This works, but Idea shows an error for the topic and assembly element, because:

"attribute "schemaLocation" from namespace "http://www.w3.org/2001/XMLSchema-instance" not allowed at this point; ignored"

Should my code work?

Best regards,
Michael

Dr. Michael Fritsch
Technical Editor
tel +49.40.325587.214
fax +49.40.325587.999
[email protected]<mailto:[email protected]>




CoreMedia GmbH - Be iconic
Ludwig-Erhard-Str. 18
20459 Hamburg, Germany
www.coremedia.com<http://www.coremedia.com/>
------------------------------------------------------------
Managing Directory: Sören Stamer, Dr. Klemens Kleiminger
Commercial Register: Amtsgericht Hamburg, HR B 162480
----------------------------------------------------------------------
Stay up to date and subscribe to our newsletters<http://l.coremedia.com/news>