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 September 23rd, 2003, 11:01 AM
chrisparr chrisparr is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: UK
Posts: 16 chrisparr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 5 sec
Reputation Power: 0
Question DTD setting with xml

Java 1.4, xerces DOMParser

Hi all,

I am having some problems.

I am trying to set the DTD the DOMParser uses. I understand you can turn off the DTD validation using the setFeature() method.

However what I want to do is programatically specify a dtd other than the one in the xml document. E.g. the xml document contains the following; <!DOCTYPE casegroup SYSTEM "definition.dtd">

I want to turn override that and use my own dtd e.g c:\mydtds\correct.dtd

Anybody got any ideas???

Thanks in advance

Chris

Reply With Quote
  #2  
Old July 8th, 2004, 10:32 AM
bacarin bacarin is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 1 bacarin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I have the same problem

Chris,


I have the same problem. Did you find an answer???
I found a response of another message that gave me
a hint: I will try processor.setBaseURL (I don't know
what type processor is).

Thanks,

Evandro

Reply With Quote
  #3  
Old July 9th, 2004, 06:33 AM
chrisparr chrisparr is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: UK
Posts: 16 chrisparr User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 37 m 5 sec
Reputation Power: 0
Hi,

No, I don't think I did get an answer, so I'm not even sure if I bothered with that approach (It was a while ago on a different project and I've forgotten).

Sorry I can't be more help.

Chris

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreXML Programming > DTD setting with xml


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 4 hosted by Hostway
Stay green...Green IT