cvc-elt.1.a: Cannot find the declaration of element 'val'
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 1
- Joined: Thu Apr 02, 2015 3:33 am
cvc-elt.1.a: Cannot find the declaration of element 'val'
Post by wingman1985 »
Here is my problem with using DITA-OT.
I am just starting to use the "Filtering" feature when I encounter the following issue:
Here is how I run the DITA-OT:
java -jar lib/dost.jar /i:/conditional-text.ditamap /filter:plumbers.ditaval /outdir:. /transtype:pdf2
And here is the result:
BUILD FAILED
D:\DITA-OT\build.xml:44: The following error occurred while executing this line:
D:\DITA-OT\plugins\org.dita.base\build_preprocess.xml:24: Failed to run pipeline: [DOTJ012F][FATAL] Failed to parse
the input file 'D:\DITA-OT\conditional-text.ditamap'. The XML parser reported the following error: : conditional-
text.ditamap Line 2:cvc-elt.1.a: Cannot find the declaration of element 'val'.
Here is the content of my conditional-text.ditamap
<?xml version="1.0" encoding="UTF-8"?>
<val>
<prop att="audience" val="electricians" action="include"/>
<prop att="audience" val="plumbers" action="exclude"/>
</val>
Can anyone tell me how to fix this?Thanks!
BTW: I am using Notepad++ as my editor and I prefer to use it to solve the above issue.
I am just starting to use the "Filtering" feature when I encounter the following issue:
Here is how I run the DITA-OT:
java -jar lib/dost.jar /i:/conditional-text.ditamap /filter:plumbers.ditaval /outdir:. /transtype:pdf2
And here is the result:
BUILD FAILED
D:\DITA-OT\build.xml:44: The following error occurred while executing this line:
D:\DITA-OT\plugins\org.dita.base\build_preprocess.xml:24: Failed to run pipeline: [DOTJ012F][FATAL] Failed to parse
the input file 'D:\DITA-OT\conditional-text.ditamap'. The XML parser reported the following error: : conditional-
text.ditamap Line 2:cvc-elt.1.a: Cannot find the declaration of element 'val'.
Here is the content of my conditional-text.ditamap
<?xml version="1.0" encoding="UTF-8"?>
<val>
<prop att="audience" val="electricians" action="include"/>
<prop att="audience" val="plumbers" action="exclude"/>
</val>
Can anyone tell me how to fix this?Thanks!
BTW: I am using Notepad++ as my editor and I prefer to use it to solve the above issue.
-
- Posts: 9446
- Joined: Fri Jul 09, 2004 5:18 pm
Re: cvc-elt.1.a: Cannot find the declaration of element 'va
Hi,
You should consider registering on the Yahoo Groups DITA Users List:
https://groups.yahoo.com/neo/groups/dita-users/info
It is a very good place where to ask DITA questions which are not related with Oxygen.
You seem to have set the filter content inside the DITA Map.
The DITA Map must contain references to DITA topics. Each reference can be profiled so that when the DITAVAL filter is applied only a certain part of the DITA Map is published.
Only your "plumbers.ditaval" must contain the filter content.
You can find a video demonstration about using Oxygen for DITA profiling here:
http://www.oxygenxml.com/demo/DITA_Profiling.html
Regards,
Radu
You should consider registering on the Yahoo Groups DITA Users List:
https://groups.yahoo.com/neo/groups/dita-users/info
It is a very good place where to ask DITA questions which are not related with Oxygen.
You seem to have set the filter content inside the DITA Map.
The DITA Map must contain references to DITA topics. Each reference can be profiled so that when the DITAVAL filter is applied only a certain part of the DITA Map is published.
Only your "plumbers.ditaval" must contain the filter content.
You can find a video demonstration about using Oxygen for DITA profiling here:
http://www.oxygenxml.com/demo/DITA_Profiling.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service