|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Parsing Problem with Default XML Namespace - xmlns
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








