[Fatal Error] file:Traceability.html:102:16: The prefix "highlight" for element "highlight:xml" is not bound.
Exception in thread "main" org.amberarcher.xml.tool.highlight.HighlightException: org.xml.sax.SAXParseException: The prefix "highlight" for element "highlight:xml" is not bound.
at org.amberarcher.xml.tool.highlight.HighlightEngine.highlight(HighlightEngine.java:61)
at org.amberarcher.xml.tool.highlight.Main.main(Main.java:45)
Caused by: org.xml.sax.SAXParseException: The prefix "highlight" for element "highlight:xml" is not bound.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.amberarcher.xml.tool.highlight.HighlightEngine.highlight(HighlightEngine.java:45)
... 1 more
I've declared the namespace declaration, but still I et the same error.
I am using xerces SAX parser and I've set the required properties(schemalocation and noNameSpaceSchemaLocation) and feature (validation/dynamic) set.
the error FatalError :1:193: The prefix "n" for element "n:myReq" is not bound.
I believe it is not finding my xsd file. How do I specify that in the properties and where in the directory structure should I keep the actual myReq.xsd file?