Xml Schema problem
Hi there,
I am making two schemas that depend on each other. One main schema and one little extra schema. In my instance document I am using the main schema but I am getting some errors from IDEA. Could anyone please have a look to see if I am doing something wrong or if IDEA is to blame.
I am attaching the 3 files.
Attachment(s):
Document.xml
BookSchema.xsd
ExtraSchema.xsd
Please sign in to leave a comment.
I managed to fix it myself.
It seems that an import statement must be present in both schemas. E.g.
<xs:import namespace="http://www.jl.com/SubSchema"
schemaLocation="SubSchema.xsd"
Generally, one need to invoke -Validate- on xml and see errors that
caused by wrong schema
Johan Lund wrote:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"