OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: xsi:schemaLocation


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

michael.fritsch@coremedia.com

 

 

CoreMedia GmbH – Be iconic

Ludwig-Erhard-Str. 18
20459 Hamburg, Germany
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

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]