[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Parsing Problem with Default XML Namespace - xmlns

Subject: Parsing Problem with Default XML Namespace - xmlns
From: Daley Thomas Contr AFRL/IFGB <Thomas.Daley@xxxxxxxxx>
Date: Thu, 30 May 2002 14:46:08 -0000
default.xml download
I am having a problem parsing an XML document, which was generated according
to the 
Intrusion Detection Message Exchange Format (IDMEF) Data Model and XML DTD,
in 
http://www.silicondefense.com/idwg/draft-ietf-idwg-idmef-xml-07.txt ,
starting on page 91. 
Specifically, the problem lies with the default namespace declaration, " 
xmlns="urn:iana:xml:ns:idmef" ", which appears in the following top level
node line: 

I am using the Oracle XML Parser for Java, XSLT Engine, xmlparserv2.jar, in
XML Cooktop v2.2 - 
April 2001.  If I change " xmlns="urn:iana:xml:ns:idmef" " to " xmlns='"" "
or completely 
remove the declaration in the line above, the document parses fine. However,
changing this 
declaration prevents the XML document from being validated against the dtd.
Any assignment 
other than " xmlns="" " will cause a parsing problem. 

NOTE: the jd.xslt XSLT Engine has no problems parsing or validating the 
"xmlns="urn:iana:xml:ns:idmef" "declaration.




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.