Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > schemalocation entry in XML created by castor created sources?

Reply
Thread Tools

schemalocation entry in XML created by castor created sources?

 
 
Ulf Heyder
Guest
Posts: n/a
 
      10-16-2003
I use castor-0.9.5 with xerces-2.4.0 to automatically generate classes
from XSDs via source generator and un-/marshall JAVA objects to/from
XML files.

My question is how to tell the castor source generator to create the
classes in a way that while marshalling they will create a
schemaLocation entry in the opening root tag:

<?xml version="1.0" encoding="UTF-8"?>
<liste
xmlns="http://www.test.de/test"
xmlnssi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.test.de/test liste.xsd">
 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with schema-validation and property "http://apache.org/xml/properties/schema/external-schemaLocation" Markus Java 1 11-23-2005 02:41 PM
XML Schema: schemaLocation and noNamespaceSchemaLocation Tjerk Wolterink XML 1 09-01-2005 04:01 PM
[Castor]How to install Castor properly? Sam Hwang Java 0 04-26-2005 08:54 AM
Validating XML document without using "xsi:schemaLocation" attribute Naresh Agarwal XML 1 01-13-2004 12:33 PM
SchemaLocation within Xml payload and WSDL.exe KC ASP .Net Web Services 0 08-27-2003 01:16 PM



Advertisments