|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
XInclude Xerces 2.6.0 and validation
Using Xerces 2.6.0 to handle parsing plus the documentation says that XInclude is supported (minus XPointer). However, after setting the XInclude parser configuration property via System it seems validation must be tured off to pull in sub-xml-documents. Otherwise, I get the following parse error:
"[tuxedo@sadbarkprodtest2]% sers.XIncludeParserConfiguration version_2/applications/XMLFacade xinclude.xml < java.lang.RuntimeException: Unable to build document (File). Error on line 12 of document file:/program/development/java/projects/XMLinstallation/version_2/test/xinclude.xml: Error attempting to parse XML file (href='metadata.xml')." Is it something with the schema (wrong processContents setting)? Or possibly the XML document model I am using (JDOM with SAXBuilder)? Without validation using XInclude is useless (to me anyway). Any ideas? |
|
#2
|
|||
|
|||
|
xinclude xerces 2.6.2 and validation
We have a similar problem. I mean, that we didn't find any solution while using xinclude to use psvi.
Since you wrote your mail, did you find any solution ? Additionnal question: What do you mean with turning off validation? regards |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > XInclude Xerces 2.6.0 and validation |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|