Message: Re: quote materials inGDML Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: quote materials inGDML 

Forum: Geometry
Re: None quote materials inGDML (panda)
Date: 14 Sep, 2016
From: Michael H. Kelsey <Michael H. Kelsey>

On Thu, 15 Sep 2016 03:58:24 GMT, panda wrote:
> hello everyone, I attempt to quote materials which I have defined in the
> gdml_materials.xsd,but when I run the program, the terminal said that
> the 'gdml_materials' not found.
> 
> <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
> <!DOCTYPE gdml [
>   <!ENTITY MATERIALS SYSTEM "gdml_materials.xsd">
> ]> <gdml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:noNamespaceSchemaLocation="/usr/local/src/geant4.10.00.p01/source/persistency/gdml/schema/gdml.xsd"
> >
> 
> &gdml_materials;

Shouldn't that be "&MATERIALS;", since that's the name string you used in the ENTITY tag? Alternatively, you could write

  <!ENTITY gdml_materials SYSTEM "gdml_materials.xsd">

and your "&gdml_materials;" reference should work.

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Question: Re: quote materials inGDML   (panda - 17 Sep, 2016)
 Add Message Add Message
to: "Re: quote materials inGDML"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]