XML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreXML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 10th, 2004, 02:19 AM
young_matthewd young_matthewd is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 3 young_matthewd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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?

Reply With Quote
  #2  
Old May 5th, 2004, 03:12 AM
brc35 brc35 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Timisoara, Romania
Posts: 2 brc35 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > XInclude Xerces 2.6.0 and validation


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT