Click here to Skip to main content
15,560,126 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Help in using media player control in C# Asp.net web application Pin
EEmaan8-Feb-07 1:56
EEmaan8-Feb-07 1:56 
GeneralRe: Help in using media player control in C# Asp.net web application Pin
Christian Graus8-Feb-07 2:04
mveChristian Graus8-Feb-07 2:04 
JokeRe: Help in using media player control in C# Asp.net web application Pin
User 98858-Feb-07 22:31
User 98858-Feb-07 22:31 
GeneralRe: Help in using media player control in C# Asp.net web application Pin
Christian Graus8-Feb-07 23:38
mveChristian Graus8-Feb-07 23:38 
QuestionHelp in implementing cascaded style sheet in C# asp.net web applcation Pin
EEmaan7-Feb-07 19:32
EEmaan7-Feb-07 19:32 
AnswerRe: Help in implementing cascaded style sheet in C# asp.net web applcation Pin
Christian Graus8-Feb-07 1:37
mveChristian Graus8-Feb-07 1:37 
GeneralRe: Help in implementing cascaded style sheet in C# asp.net web applcation Pin
EEmaan8-Feb-07 1:39
EEmaan8-Feb-07 1:39 
QuestionValidating an XML against a given XSD Pin
vsavarma7-Feb-07 18:38
vsavarma7-Feb-07 18:38 
Hi,

This is Ashok Varma V. S. working with Cibernet, India.
I found you the right person to answer my question.

I have XSD, XML files and want to validate the XML against the XSD and then only proceed with parsing the XML file.

I used XML::SAX::ParserFactory, XML::Validator::Schema modules but following is the issues i faced ...
1. Failed with this reason --- elementFormDefault in <schema> must be 'unqualified', 'qualified' is not supported.
I modified the attribute 'elementFormDefault' value to 'unqualified' and it worked (practically, i should not do this).
2. The module that i am currently using(give below in code snippet) is not supporting <import> tag.

Can any one please suggest me a better module which does the above.

code snippet i used
------------------
use XML::SAX::ParserFactory;
use XML::Validator::Schema;

my $xsd_file = '/Users/vashokvarma/EID/xmlfile/EID.xsd';
my $xml_file = '/Users/vashokvarma/EID/xmlfile/EID.xml';

my $validator = XML::Validator::Schema->new(file => $xsd_file);

my $parser = XML::SAX::ParserFactory->parser(Handler => $validator);

eval { $parser->parse_uri($xml_file) };
if ($@) {
print "File failed validation: $@"
} else {
print "proceed with parsing XML\n";
}
------------------

Let me know if anyone need any additional information. Any kind of help is greatly appreciated.

Thanks in advance,
Ashok

Do what i do but dont do what i say ...

AnswerRe: Validating an XML against a given XSD Pin
vsavarma7-Feb-07 18:39
vsavarma7-Feb-07 18:39 
QuestionIframe Development Pin
macca247-Feb-07 5:40
macca247-Feb-07 5:40 
AnswerRe: Iframe Development Pin
led mike7-Feb-07 5:50
led mike7-Feb-07 5:50 
QuestionApache Server - throttle downloads Pin
#realJSOP7-Feb-07 3:05
mva#realJSOP7-Feb-07 3:05 
AnswerRe: Apache Server - throttle downloads Pin
badgrs7-Feb-07 4:05
badgrs7-Feb-07 4:05 
AnswerRe: Apache Server - throttle downloads Pin
Vasudevan Deepak Kumar7-Feb-07 5:33
Vasudevan Deepak Kumar7-Feb-07 5:33 
QuestionUsing Java Script as a security model to protect hidden fields Pin
Marcus J. Smith7-Feb-07 1:08
professionalMarcus J. Smith7-Feb-07 1:08 
AnswerRe: Using Java Script as a security model to protect hidden fields Pin
Bradml7-Feb-07 1:36
Bradml7-Feb-07 1:36 
JokeRe: Using Java Script as a security model to protect hidden fields Pin
blue_arc7-Feb-07 2:02
blue_arc7-Feb-07 2:02 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
Marcus J. Smith7-Feb-07 2:20
professionalMarcus J. Smith7-Feb-07 2:20 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
badgrs7-Feb-07 3:54
badgrs7-Feb-07 3:54 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
Vasudevan Deepak Kumar7-Feb-07 5:36
Vasudevan Deepak Kumar7-Feb-07 5:36 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
Marcus J. Smith7-Feb-07 2:23
professionalMarcus J. Smith7-Feb-07 2:23 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
User 98858-Feb-07 22:43
User 98858-Feb-07 22:43 
GeneralRe: Using Java Script as a security model to protect hidden fields Pin
Marcus J. Smith9-Feb-07 4:48
professionalMarcus J. Smith9-Feb-07 4:48 
AnswerRe: Using Java Script as a security model to protect hidden fields Pin
Guffa7-Feb-07 8:09
Guffa7-Feb-07 8:09 
QuestionDefinition error Pin
nclauder6-Feb-07 21:42
nclauder6-Feb-07 21:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.